#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 ww 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. (w=1..7w= 1..7)

Input Format

A single line containing the day of the week ww for January 1st.

Output Format

One or more lines, each containing a month number where the 13th day falls on a Friday.

Sample

7
1
10