import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        String[] arr = sc.nextLine().split(" ");
        BigDecimal a = new BigDecimal(arr[0]);
        BigDecimal b = new BigDecimal(arr[1]);
        BigDecimal ans = a.multiply(b);
        System.out.println(ans.setScale(0, RoundingMode.DOWN));
    }
} import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        String[] arr = sc.nextLine().split(" ");
        BigDecimal a = new BigDecimal(arr[0]);
        BigDecimal b = new BigDecimal(arr[1]);
        BigDecimal ans = a.multiply(b);
        System.out.println(ans.setScale(0, RoundingMode.DOWN));
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        String[] arr = sc.nextLine().split(" ");
        BigDecimal a = new BigDecimal(arr[0]);
        BigDecimal b = new BigDecimal(arr[1]);
        BigDecimal ans = a.multiply(b);
        System.out.println(ans.setScale(0, RoundingMode.DOWN));
    } main {
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        String[] arr = sc.nextLine().split(" ");
        BigDecimal a = new BigDecimal(arr[0]);
        BigDecimal b = new BigDecimal(arr[1]);
        BigDecimal ans = a.multiply(b);
        System.out.println(ans.setScale(0, RoundingMode.DOWN));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] arr = sc.nextLine().split(" "); arr sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " BigDecimal a = new BigDecimal(arr[0]); a new BigDecimal(arr[0]) BigDecimal b = new BigDecimal(arr[1]); b new BigDecimal(arr[1]) BigDecimal ans = a.multiply(b); ans a.multiply(b) a.multiply a b System.out.println(ans.setScale(0, RoundingMode.DOWN)) System.out.println System.out System System.out ans.setScale(0, RoundingMode.DOWN) ans.setScale ans 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN String[] args args public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        String[] arr = sc.nextLine().split(" ");
        BigDecimal a = new BigDecimal(arr[0]);
        BigDecimal b = new BigDecimal(arr[1]);
        BigDecimal ans = a.multiply(b);
        System.out.println(ans.setScale(0, RoundingMode.DOWN));
    }
} public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        String[] arr = sc.nextLine().split(" ");
        BigDecimal a = new BigDecimal(arr[0]);
        BigDecimal b = new BigDecimal(arr[1]);
        BigDecimal ans = a.multiply(b);
        System.out.println(ans.setScale(0, RoundingMode.DOWN));
    }
} Main
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        String[] arr = sc.nextLine().split(" ");
        BigDecimal a = new BigDecimal(arr[0]);
        BigDecimal b = new BigDecimal(arr[1]);
        BigDecimal ans = a.multiply(b);
        System.out.println(ans.setScale(0, RoundingMode.DOWN));
    }
}