Halloween is coming up soon! Unfortunately you forgot what day of the week it is on. Thankfully, Carson has remembered the day of the week that Christmas is on, and knowing that OCT 31 = DEC 25, believes this information is more than enough to help you out.
Given the day of the week the Christmas is on, determine the day that Halloween is on.
Recall that Halloween is on October 31 and Christmas is on December 25 based on the Gregorian Calendar.
There will be a single line of input, the day of the week that Christmas is on for some unspecified year. Specifically, the input will be one of
This problem is graded with an
identical checker. This includes whitespace characters. Ensure that every line of output is terminated with a
\n character and that there are no trailing spaces.
Output a single line, the day of the week that Halloween is on for the same year. Specifically, the output must be one of