Tasks:
 
Task DescriptionDiscussion (0)
Task :: Datumi
Write a program that, given a date in 2009, determines the day of week on that date.

INPUT:
The first line contains two positive integers D and M separated by a space. The numbers will be a valid date in 2009.

OUTPUT:
Output the day of the week on D. M. 2009. The output should be one of the words "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" or "Sunday".


Input:
1 1

Output:
Thursday



Input:
17 1

Output:
Saturday



Input:
25 9

Output:
Friday

Submit Solution
:
:
Available Languages
Task info
Name:Datumi
Time:0.5 sec.
Memory:32 MB
#Tests:10
AddedBy: admin
Source:COCI
Task Ratings
Difficulty:

2.8 (36 votes)
Quality:

3.7 (28 votes)
Acceptance Rate
Recent Submissions
Fastest Solutions
UserTime
Al3kSaNdaR 0 s.
gates 0 s.
tgudlek 0 s.
turgond 0 s.
princo 0 s.
msantl 0 s.
nemanja1990 0 s.
thewolf 0 s.
drugsale 0 s.
chumez 0 s.
Solved By