import java.util.*;
import java.math.*;

public class Main {
    public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
        String a = sc.next();
        String b = sc.next();
      
        BigDecimal a1 = new BigDecimal(a);
        BigDecimal b1 = new BigDecimal(b);
        BigDecimal res= a1.multiply(b1);
      
        System.out.println(res.setScale(0, RoundingMode.DOWN));
    }
} import java.util.*; util.* java import java.math.*; math.* java public class Main {
    public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
        String a = sc.next();
        String b = sc.next();
      
        BigDecimal a1 = new BigDecimal(a);
        BigDecimal b1 = new BigDecimal(b);
        BigDecimal res= a1.multiply(b1);
      
        System.out.println(res.setScale(0, RoundingMode.DOWN));
    }
} Main public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
        String a = sc.next();
        String b = sc.next();
      
        BigDecimal a1 = new BigDecimal(a);
        BigDecimal b1 = new BigDecimal(b);
        BigDecimal res= a1.multiply(b1);
      
        System.out.println(res.setScale(0, RoundingMode.DOWN));
    } main {
		Scanner sc = new Scanner(System.in);
        String a = sc.next();
        String b = sc.next();
      
        BigDecimal a1 = new BigDecimal(a);
        BigDecimal b1 = new BigDecimal(b);
        BigDecimal res= a1.multiply(b1);
      
        System.out.println(res.setScale(0, RoundingMode.DOWN));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String a = sc.next(); a sc.next() sc.next sc String b = sc.next(); b sc.next() sc.next sc BigDecimal a1 = new BigDecimal(a); a1 new BigDecimal(a) BigDecimal b1 = new BigDecimal(b); b1 new BigDecimal(b) BigDecimal res= a1.multiply(b1); res a1.multiply(b1) a1.multiply a1 b1 System.out.println(res.setScale(0, RoundingMode.DOWN)) System.out.println System.out System System.out res.setScale(0, RoundingMode.DOWN) res.setScale res 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN String[] args args public class Main {
    public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
        String a = sc.next();
        String b = sc.next();
      
        BigDecimal a1 = new BigDecimal(a);
        BigDecimal b1 = new BigDecimal(b);
        BigDecimal res= a1.multiply(b1);
      
        System.out.println(res.setScale(0, RoundingMode.DOWN));
    }
} public class Main {
    public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
        String a = sc.next();
        String b = sc.next();
      
        BigDecimal a1 = new BigDecimal(a);
        BigDecimal b1 = new BigDecimal(b);
        BigDecimal res= a1.multiply(b1);
      
        System.out.println(res.setScale(0, RoundingMode.DOWN));
    }
} Main
import java.util.*;
import java.math.*;

public class Main {
    public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
        String a = sc.next();
        String b = sc.next();
      
        BigDecimal a1 = new BigDecimal(a);
        BigDecimal b1 = new BigDecimal(b);
        BigDecimal res= a1.multiply(b1);
      
        System.out.println(res.setScale(0, RoundingMode.DOWN));
    }
}