p@main=do l<-readLn;putStrLn$show l++" is "++(if l`mod`4==0&&l`mod`100/=0||l`mod`400==0then""else"not ")++"a leap year.";p