IntermediateRating 1100
What Day Was It?
Print the day of the week (Monday … Sunday) for the date.
Input
One date YYYY-MM-DD (1900–2100).
Output
A weekday name.
Sample 1
Input
2024-01-01
Output
Monday
Sample 2
Input
1971-03-26
Output
Friday
Output appears here