puts readlines.map{|s|s.chop+" is"+(((i=s.to_i)%400>0&&i%?d<1||i%4>0)&&" not"||"")+" a leap year."}