import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; import static java.lang.System.in; public class No350 { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(in)); String[] inputs = reader.readLine().split(" "); double v = Double.parseDouble(inputs[0]); int t = Integer.parseInt(inputs[1]); System.out.println(solve(v, t)); } public static int solve(double v, int t) { return BigDecimal.valueOf(v).multiply(BigDecimal.valueOf(t)).intValue(); } }