11562 - 231001_9/21_practice2-1   

Description

Write a program to determine if the input year is a leap year (閏年).  A year is a leap year if it is divisible by 4 but not divisible by 100, OR if it is divisible by 400.  The program should take an integer (y) as the input year, and test if y is a leap year or not.  

Input

An integer number n

Output

If the year is a leap year, print "n is a leap year." or print "n is not a leap year." Remember put a "\n" at the end of the answer.

Sample Input  Download

Sample Output  Download

Tags




Discuss