#P449. 【例82.1】不吉利日期
【例82.1】不吉利日期
Description
In foreign countries, the 13th day of each month and every Friday are considered unlucky. It's especially unlucky when the 13th day falls on a Friday. Given that January 1st of a certain year falls on day of the week, and this year is definitely not a leap year, find all months where the 13th day falls on a Friday. Output the month numbers in ascending order. ()
Input Format
A single line containing the day of the week for January 1st.
Output Format
One or more lines, each containing a month number where the 13th day falls on a Friday.
Sample
71
10