import std.stdio;void main(){for(int n;~scanf("%d",&n);)writef(n," is %sa leap year. ",n%(n%50?4:16)?"not ":"");}