main(i){for(;gets(&i);printf("%d is %sa leap year.\n",i,"not "-!(i%4|i%16>0>i%50)))i=atoi();}