# frozen_string_literal: true v, t = gets.chomp.split.map { |f| Rational(f) } p((v * t).floor)