require "bigdecimal" d = gets.to_s.to_i puts (d * BigDecimal("1.08")).to_f