leap year by kaki

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

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top