#CODEIT03. Play with Dates

Play with Dates

Play with dates

Problem Statement:

Given the date, month and year, find the day.

Input Specification:

The first line consists of an integer t, the number of test cases. Then for each test case there are three integers the date, month and year.

Output Specification:

For each test case print the day in words in a separate line(The first character should be caps followed by small letters).

Input Constraints:

1<=t<=100

Date/month/year >= 11/1/2012

Date/month/year<=31/12/3000

The given date will always be a valid date

Sample Input:

3

11 1 2012

12 1 2012

13 1 2012

Sample Output:

Wednesday

Thursday

Friday