C問題 ruby こんなんでWAなんですけど

a, b = gets.to_s.split.map{|e|e.to_f}.sort
ans = (a * b).floor
puts ans