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

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        String strA = sc.next();
        String strB = sc.next();

        BigDecimal A = new BigDecimal(strA);
        BigDecimal B = new BigDecimal(strB);

        BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);

        System.out.println(result);
    }
} import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        String strA = sc.next();
        String strB = sc.next();

        BigDecimal A = new BigDecimal(strA);
        BigDecimal B = new BigDecimal(strB);

        BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);

        System.out.println(result);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        String strA = sc.next();
        String strB = sc.next();

        BigDecimal A = new BigDecimal(strA);
        BigDecimal B = new BigDecimal(strB);

        BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);

        System.out.println(result);
    } main {
        Scanner sc = new Scanner(System.in);

        String strA = sc.next();
        String strB = sc.next();

        BigDecimal A = new BigDecimal(strA);
        BigDecimal B = new BigDecimal(strB);

        BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);

        System.out.println(result);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String strA = sc.next(); strA sc.next() sc.next sc String strB = sc.next(); strB sc.next() sc.next sc BigDecimal A = new BigDecimal(strA); A new BigDecimal(strA) BigDecimal B = new BigDecimal(strB); B new BigDecimal(strB) BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN); result A.multiply(B).setScale(0, RoundingMode.DOWN) A.multiply(B).setScale A.multiply(B) A.multiply A B 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        String strA = sc.next();
        String strB = sc.next();

        BigDecimal A = new BigDecimal(strA);
        BigDecimal B = new BigDecimal(strB);

        BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);

        System.out.println(result);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        String strA = sc.next();
        String strB = sc.next();

        BigDecimal A = new BigDecimal(strA);
        BigDecimal B = new BigDecimal(strB);

        BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);

        System.out.println(result);
    }
} Main
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        String strA = sc.next();
        String strB = sc.next();

        BigDecimal A = new BigDecimal(strA);
        BigDecimal B = new BigDecimal(strB);

        BigDecimal result = A.multiply(B).setScale(0, RoundingMode.DOWN);

        System.out.println(result);
    }
}