What Day Was It
Print the day of the week for the given Gregorian date, in uppercase (MONDAY, TUESDAY, ...).
Input: one line with three integers: year, month, day.
Output: the weekday name in uppercase.
Constraints:
- 1600 ≤ year ≤ 4000
- the date is valid
Sample Tests
Input 1
2024 7 12
Output 1
FRIDAY
Input 2
2000 1 1
Output 2
SATURDAY
Discussion (opens after you solve — no spoilers before)
No comments yet.