main(n){for(;~scanf("%d",&n);)printf("%d is %sa leap year.\n",n,n%4|n%100