main(a){for(;~scanf("%d",&a);printf("%d is %sa leap year.\n",a,"not "-!(a%50?a%4:a&12)));}