{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"Bessie asked her friend what day of the week she was born on. She knew that she was born on 2003 May 25, but didn\u0027t know what day it was. Write a program to help. Note that no cow was born earlier than the year 1800.\r\u003cbr\u003e\r\u003cbr\u003eFacts to know:\r\u003cbr\u003e\r\u003cbr\u003e* January 1, 1900 was on a Monday.\r\u003cbr\u003e\r\u003cbr\u003e* Lengths of months:\r\u003cbr\u003e\u003cpre\u003e Jan 31 May 31 Sep 30\u003cbr\u003e Feb 28 or 29 Jun 30 Oct 31\u003cbr\u003e Mar 31 Jul 31 Nov 30\u003cbr\u003e Apr 30 Aug 31 Dec 31\u003c/pre\u003e\r\u003cbr\u003e* Every year evenly divisible by 4 is a leap year (1992 \u003d 4*498 so 1992 will be a leap year, but the year 1990 is not a leap year).\r\u003cbr\u003e\r\u003cbr\u003e* The rule above does not hold for century years. Century years divisible by 400 are leap years, all other are not. Thus, the century years 1700, 1800, 1900 and 2100 are not leap years, but 2000 is a leap year."}},{"title":"Input","value":{"format":"HTML","content":"* Line 1: Three space-separated integers that represent respectively the year, month (range 1..12), and day of a date."}},{"title":"Output","value":{"format":"HTML","content":"* Line 1: A single word that is the day of the week of the specified date (from the lower-case list: monday, tuesday, wednesday, thursday, friday, saturday, sunday)."}},{"title":"Sample","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e2003 5 25\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003esunday\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Hint","value":{"format":"HTML","content":"INPUT DETAILS:\r\u003cbr\u003eMay 25, 2003\r\u003cbr\u003e\r\u003cbr\u003eOUTPUT DETAILS:\r\u003cbr\u003e\u003cpre\u003e May 2003\u003cbr\u003eSu Mo Tu We Th Fr Sa\u003cbr\u003e 1 2 3\u003cbr\u003e 4 5 6 7 8 9 10\u003cbr\u003e11 12 13 14 15 16 17\u003cbr\u003e18 19 20 21 22 23 24\u003cbr\u003e25 26 27 28 29 30 31\u003c/pre\u003e"}}]}