x,y=gets.split.map(&:to_f) x=(x*10000).round p (x*(y.to_i))/10000