leap year by

while 1:y=input();print y,'is not'[:2+y%4*4+(y%100==0)*(y%400)],'a leap year.'

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

download

return top