class Fixnum def *(arg) self - (-arg) end def +(arg) self / Rational(1,arg) end end class Yukicoder def initialize s = gets.chomp puts eval(s).to_i end end Yukicoder.new