Problem1253--输出闰年

1253: 输出闰年

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 0  Solved: 1
[Submit] [Status] [Web Board] [Creator:]

Description

输出21世纪中截止某个年份以来的所有闰年年份。注意:闰年的判别条件是该年年份能被4整除但不能被100整除、或者能被400整除。

Input

输入在一行中给出21世纪的某个截止年份。

Output

输入在一行中给出21世纪的某个截止年份。

Sample Input Copy

2048

Sample Output Copy

2004
2008
2012
2016
2020
2024
2028
2032
2036
2040
2044
2048

Source/Category