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

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

        BigDecimal A = new BigDecimal(scanner.next());
        BigDecimal B = new BigDecimal(scanner.next());
        BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);
        System.out.println(C);
    }
} import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

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

        BigDecimal A = new BigDecimal(scanner.next());
        BigDecimal B = new BigDecimal(scanner.next());
        BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);
        System.out.println(C);
    } main {
        Scanner scanner = new Scanner(System.in);

        BigDecimal A = new BigDecimal(scanner.next());
        BigDecimal B = new BigDecimal(scanner.next());
        BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);
        System.out.println(C);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) BigDecimal A = new BigDecimal(scanner.next()); A new BigDecimal(scanner.next()) BigDecimal B = new BigDecimal(scanner.next()); B new BigDecimal(scanner.next()) BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN); C 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(C) System.out.println System.out System System.out C String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

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

        BigDecimal A = new BigDecimal(scanner.next());
        BigDecimal B = new BigDecimal(scanner.next());
        BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);
        System.out.println(C);
    }
} Main
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

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

        BigDecimal A = new BigDecimal(scanner.next());
        BigDecimal B = new BigDecimal(scanner.next());
        BigDecimal C = A.multiply(B).setScale(0, RoundingMode.DOWN);
        System.out.println(C);
    }
}
