while 1:i=input()-1;print-~i,"is","not a leap year."[i%400/399-i%100/99+i%4/3<<2:]

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page