SP3464 CLOCK1 - Clock

Description

Calculate the number of times the 29-​th day (if exists) of the month will be on a Saturday throughout year **N**. (2000

Input Format

Each line contains one integer **N**. Input terminates by EOF.

Output Format

Each line contains one integer - the answer.