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