import java.math.BigDecimal;
import java.util.Scanner;
class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        double a = scan.nextDouble();
        double b = scan.nextDouble();
        BigDecimal aa = BigDecimal.valueOf(a);
        BigDecimal bb = BigDecimal.valueOf(b);
        BigDecimal cc = aa.multiply(bb);
        BigDecimal sum = cc.setScale(0, BigDecimal.ROUND_DOWN);

        System.out.println(sum);
    }
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        double a = scan.nextDouble();
        double b = scan.nextDouble();
        BigDecimal aa = BigDecimal.valueOf(a);
        BigDecimal bb = BigDecimal.valueOf(b);
        BigDecimal cc = aa.multiply(bb);
        BigDecimal sum = cc.setScale(0, BigDecimal.ROUND_DOWN);

        System.out.println(sum);
    }
} Main public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        double a = scan.nextDouble();
        double b = scan.nextDouble();
        BigDecimal aa = BigDecimal.valueOf(a);
        BigDecimal bb = BigDecimal.valueOf(b);
        BigDecimal cc = aa.multiply(bb);
        BigDecimal sum = cc.setScale(0, BigDecimal.ROUND_DOWN);

        System.out.println(sum);
    } main {
        Scanner scan = new Scanner(System.in);
        double a = scan.nextDouble();
        double b = scan.nextDouble();
        BigDecimal aa = BigDecimal.valueOf(a);
        BigDecimal bb = BigDecimal.valueOf(b);
        BigDecimal cc = aa.multiply(bb);
        BigDecimal sum = cc.setScale(0, BigDecimal.ROUND_DOWN);

        System.out.println(sum);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double a = scan.nextDouble(); a scan.nextDouble() scan.nextDouble scan double b = scan.nextDouble(); b scan.nextDouble() scan.nextDouble scan BigDecimal aa = BigDecimal.valueOf(a); aa BigDecimal.valueOf(a) BigDecimal.valueOf BigDecimal a BigDecimal bb = BigDecimal.valueOf(b); bb BigDecimal.valueOf(b) BigDecimal.valueOf BigDecimal b BigDecimal cc = aa.multiply(bb); cc aa.multiply(bb) aa.multiply aa bb BigDecimal sum = cc.setScale(0, BigDecimal.ROUND_DOWN); sum cc.setScale(0, BigDecimal.ROUND_DOWN) cc.setScale cc 0 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN System.out.println(sum) System.out.println System.out System System.out sum String args[] args
import java.math.BigDecimal;
import java.util.Scanner;
class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        double a = scan.nextDouble();
        double b = scan.nextDouble();
        BigDecimal aa = BigDecimal.valueOf(a);
        BigDecimal bb = BigDecimal.valueOf(b);
        BigDecimal cc = aa.multiply(bb);
        BigDecimal sum = cc.setScale(0, BigDecimal.ROUND_DOWN);

        System.out.println(sum);
    }
}