import java.math.BigDecimal; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double v = scan.nextDouble(); int t = scan.nextInt(); BigDecimal v1 = BigDecimal.valueOf(v); BigDecimal t1 = BigDecimal.valueOf(t); scan.close(); BigDecimal ans = v1.multiply(t1); BigDecimal ans1 = ans.setScale(0, BigDecimal.ROUND_DOWN); System.out.println(ans1); } }