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

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        sc.close();

        BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));
        String val = res.toPlainString();
        int index = val.indexOf(".");
        if (index >= 0) {
            val = val.substring(0, index);
        }

        System.out.println(val);

    }
} import java.math.BigDecimal; BigDecimal java.math import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        sc.close();

        BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));
        String val = res.toPlainString();
        int index = val.indexOf(".");
        if (index >= 0) {
            val = val.substring(0, index);
        }

        System.out.println(val);

    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        sc.close();

        BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));
        String val = res.toPlainString();
        int index = val.indexOf(".");
        if (index >= 0) {
            val = val.substring(0, index);
        }

        System.out.println(val);

    } main {
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        sc.close();

        BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));
        String val = res.toPlainString();
        int index = val.indexOf(".");
        if (index >= 0) {
            val = val.substring(0, index);
        }

        System.out.println(val);

    } 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 sc.close() sc.close sc BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B)); res BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B)) BigDecimal.valueOf(A).multiply BigDecimal.valueOf(A) BigDecimal.valueOf BigDecimal A BigDecimal.valueOf(B) BigDecimal.valueOf BigDecimal B String val = res.toPlainString(); val res.toPlainString() res.toPlainString res int index = val.indexOf("."); index val.indexOf(".") val.indexOf val "." if (index >= 0) {
            val = val.substring(0, index);
        } index >= 0 index 0 {
            val = val.substring(0, index);
        } val = val.substring(0, index) val val.substring(0, index) val.substring val 0 index System.out.println(val) System.out.println System.out System System.out val String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        sc.close();

        BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));
        String val = res.toPlainString();
        int index = val.indexOf(".");
        if (index >= 0) {
            val = val.substring(0, index);
        }

        System.out.println(val);

    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        sc.close();

        BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));
        String val = res.toPlainString();
        int index = val.indexOf(".");
        if (index >= 0) {
            val = val.substring(0, index);
        }

        System.out.println(val);

    }
} Main
import java.math.BigDecimal;
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double A = sc.nextDouble();
        double B = sc.nextDouble();
        sc.close();

        BigDecimal res = BigDecimal.valueOf(A).multiply(BigDecimal.valueOf(B));
        String val = res.toPlainString();
        int index = val.indexOf(".");
        if (index >= 0) {
            val = val.substring(0, index);
        }

        System.out.println(val);

    }
}