Guest
Login
跳过导航链接

奥运年
Time Limit:1000MS  Memory Limit:32768K

Description:

2008年在我国北京举办过奥运会,所以2008当然是奥运年。那么给你一个年份,你得判断它是否为奥运年呢。奥运会从1896年起,每四年举行一次。当然有那么几届奥运会,因为战争的原因而没有办成,但是,确曾列为奥运年,未来某些年份虽然还不知道能否成功举办,但是同样已经列为奥运年,所以,凡列入奥运会举办年,都是奥运年。

Input:

多个年份数据N(1895<N<2095)。

Output:

如果输入的是奥运年份,则输出N is the olympic year. 否则输出N is not the olympic year.

Sample Input:

2008
2005
1896
1897

Sample Output:

2008 is the olympic year.
2005 is not the olympic year.
1896 is the olympic year.
1897 is not the olympic year.
Submit Your Solution


Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By Jin Qiwei
Refactored By cb@zjut.edu.cn , QQ Group: 723311416  All Copyright Reserved 2006-
697