import java.util.*;
import java.math.BigDecimal;
import java.math.RoundingMode;
public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        
        BigDecimal C = new BigDecimal(String.valueOf(A));
        BigDecimal D = new BigDecimal(String.valueOf(B));
		BigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));

		BigDecimal G = F.setScale(0, RoundingMode.DOWN);
        System.out.println(G);
    }
} import java.util.*; util.* java import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        
        BigDecimal C = new BigDecimal(String.valueOf(A));
        BigDecimal D = new BigDecimal(String.valueOf(B));
		BigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));

		BigDecimal G = F.setScale(0, RoundingMode.DOWN);
        System.out.println(G);
    }
} Main public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        
        BigDecimal C = new BigDecimal(String.valueOf(A));
        BigDecimal D = new BigDecimal(String.valueOf(B));
		BigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));

		BigDecimal G = F.setScale(0, RoundingMode.DOWN);
        System.out.println(G);
    } main {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        
        BigDecimal C = new BigDecimal(String.valueOf(A));
        BigDecimal D = new BigDecimal(String.valueOf(B));
		BigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));

		BigDecimal G = F.setScale(0, RoundingMode.DOWN);
        System.out.println(G);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double A = sc.nextDouble(); A sc.nextDouble() sc.nextDouble sc double B = sc.nextDouble(); B sc.nextDouble() sc.nextDouble sc BigDecimal C = new BigDecimal(String.valueOf(A)); C new BigDecimal(String.valueOf(A)) BigDecimal D = new BigDecimal(String.valueOf(B)); D new BigDecimal(String.valueOf(B)) BigDecimal F = new BigDecimal(String.valueOf(C.multiply(D))); F new BigDecimal(String.valueOf(C.multiply(D))) BigDecimal G = F.setScale(0, RoundingMode.DOWN); G F.setScale(0, RoundingMode.DOWN) F.setScale F 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN System.out.println(G) System.out.println System.out System System.out G String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        
        BigDecimal C = new BigDecimal(String.valueOf(A));
        BigDecimal D = new BigDecimal(String.valueOf(B));
		BigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));

		BigDecimal G = F.setScale(0, RoundingMode.DOWN);
        System.out.println(G);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        
        BigDecimal C = new BigDecimal(String.valueOf(A));
        BigDecimal D = new BigDecimal(String.valueOf(B));
		BigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));

		BigDecimal G = F.setScale(0, RoundingMode.DOWN);
        System.out.println(G);
    }
} Main
import java.util.*;
import java.math.BigDecimal;
import java.math.RoundingMode;
public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        
        BigDecimal C = new BigDecimal(String.valueOf(A));
        BigDecimal D = new BigDecimal(String.valueOf(B));
		BigDecimal F = new BigDecimal(String.valueOf(C.multiply(D)));

		BigDecimal G = F.setScale(0, RoundingMode.DOWN);
        System.out.println(G);
    }
}
