Judge whether a year is a leap year .
There is only one line of input , Contains an integer a
a line , If A.D a A year is a leap year Y, Otherwise output N
2006
N
In the Gregorian calendar , Can be 4 Most of them are leap years , But it can be 100 Divide without being 400 Divisible years are not leap years , Can be 3200 It's not a leap year , Such as 1900 Year is a normal year ,2000 Year is a leap year ,3200 Year is not a leap year .
a=eval(input()) if a%4!=0: print("N") elif a%4==0: if a%100==0 and a%400!=0: print("N") elif a%3200==0: print("N") else: print("Y")