require 'date'\x0d while gets\x0d i=$_.to_i\x0d puts "#{i} is #{if Date.new(i).leap?&&i!=1500;""else;"not ";end}a leap year."\x0d end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page