main(y){for(;gets(&y);)printf("%s is %sa leap year.\n",&y,"not "+~dysize(atoi())%2);}