var n:word;begin repeat read(n);write(n,' is not':7-1shr(n mod(4+1shr(n mod 50)*12))*4,' a leap year. ')until 0>0end.