CLOCK1 - Clock
Calculate the number of times the 29-th day (if exists) of the month will be on a Saturday throughout year N. (2000 <= N <= 3000)
Solve this problem by at most 256 Bytes of source code.
The judge of this problem is "Exact judge".
Each line contains one integer N. Input terminates by EOF.
Each line contains one integer - the answer.
Input: 2017 2008 Output: 2 2