import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Scanner;
public class Main {

    public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        BigDecimal C = A.multiply(B);

 
        BigInteger D = C.toBigInteger();

        System.out.print(D);
    }
} import java.math.BigDecimal; BigDecimal java.math import java.math.BigInteger; BigInteger java.math import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        BigDecimal C = A.multiply(B);

 
        BigInteger D = C.toBigInteger();

        System.out.print(D);
    }
} Main public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        BigDecimal C = A.multiply(B);

 
        BigInteger D = C.toBigInteger();

        System.out.print(D);
    } main {


        Scanner sc = new Scanner(System.in);
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        BigDecimal C = A.multiply(B);

 
        BigInteger D = C.toBigInteger();

        System.out.print(D);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) BigDecimal A = sc.nextBigDecimal(); A sc.nextBigDecimal() sc.nextBigDecimal sc BigDecimal B = sc.nextBigDecimal(); B sc.nextBigDecimal() sc.nextBigDecimal sc BigDecimal C = A.multiply(B); C A.multiply(B) A.multiply A B BigInteger D = C.toBigInteger(); D C.toBigInteger() C.toBigInteger C System.out.print(D) System.out.print System.out System System.out D String[] args args public class Main {

    public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        BigDecimal C = A.multiply(B);

 
        BigInteger D = C.toBigInteger();

        System.out.print(D);
    }
} public class Main {

    public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        BigDecimal C = A.multiply(B);

 
        BigInteger D = C.toBigInteger();

        System.out.print(D);
    }
} Main
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Scanner;
public class Main {

    public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        BigDecimal C = A.multiply(B);

 
        BigInteger D = C.toBigInteger();

        System.out.print(D);
    }
}
