import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        sc.close();
        System.out.println(A.multiply(B).toBigInteger());
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        sc.close();
        System.out.println(A.multiply(B).toBigInteger());
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        sc.close();
        System.out.println(A.multiply(B).toBigInteger());
    } main {
        Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        sc.close();
        System.out.println(A.multiply(B).toBigInteger());
    } Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in))); sc new Scanner(new BufferedReader(new InputStreamReader(System.in))) BigDecimal A = sc.nextBigDecimal(); A sc.nextBigDecimal() sc.nextBigDecimal sc BigDecimal B = sc.nextBigDecimal(); B sc.nextBigDecimal() sc.nextBigDecimal sc sc.close() sc.close sc System.out.println(A.multiply(B).toBigInteger()) System.out.println System.out System System.out A.multiply(B).toBigInteger() A.multiply(B).toBigInteger A.multiply(B) A.multiply A B String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        sc.close();
        System.out.println(A.multiply(B).toBigInteger());
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        sc.close();
        System.out.println(A.multiply(B).toBigInteger());
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        sc.close();
        System.out.println(A.multiply(B).toBigInteger());
    }
}
