import java.math.BigDecimal;
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);
        System.out.println(c.setScale(0, BigDecimal.ROUND_DOWN));
    }
} 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(System.in);
        BigDecimal a = sc.nextBigDecimal();
        BigDecimal b = sc.nextBigDecimal();
        BigDecimal c = a.multiply(b);
        System.out.println(c.setScale(0, BigDecimal.ROUND_DOWN));
    }
} 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);
        System.out.println(c.setScale(0, BigDecimal.ROUND_DOWN));
    } main {
        Scanner sc = new Scanner(System.in);
        BigDecimal a = sc.nextBigDecimal();
        BigDecimal b = sc.nextBigDecimal();
        BigDecimal c = a.multiply(b);
        System.out.println(c.setScale(0, BigDecimal.ROUND_DOWN));
    } 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 System.out.println(c.setScale(0, BigDecimal.ROUND_DOWN)) System.out.println System.out System System.out c.setScale(0, BigDecimal.ROUND_DOWN) c.setScale c 0 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN 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);
        System.out.println(c.setScale(0, BigDecimal.ROUND_DOWN));
    }
} 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);
        System.out.println(c.setScale(0, BigDecimal.ROUND_DOWN));
    }
} Main
import java.math.BigDecimal;
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);
        System.out.println(c.setScale(0, BigDecimal.ROUND_DOWN));
    }
}