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

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        BigDecimal x = new BigDecimal(in.next());
        BigDecimal y = new BigDecimal(in.next());
        System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));
    }
} 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 in = new Scanner(System.in);
        BigDecimal x = new BigDecimal(in.next());
        BigDecimal y = new BigDecimal(in.next());
        System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));
    }
} Main public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        BigDecimal x = new BigDecimal(in.next());
        BigDecimal y = new BigDecimal(in.next());
        System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));
    } main {
        Scanner in = new Scanner(System.in);
        BigDecimal x = new BigDecimal(in.next());
        BigDecimal y = new BigDecimal(in.next());
        System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) BigDecimal x = new BigDecimal(in.next()); x new BigDecimal(in.next()) BigDecimal y = new BigDecimal(in.next()); y new BigDecimal(in.next()) System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN)) System.out.println System.out System System.out x.multiply(y).setScale(0, RoundingMode.DOWN) x.multiply(y).setScale x.multiply(y) x.multiply x y 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN String[] args args public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        BigDecimal x = new BigDecimal(in.next());
        BigDecimal y = new BigDecimal(in.next());
        System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));
    }
} public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        BigDecimal x = new BigDecimal(in.next());
        BigDecimal y = new BigDecimal(in.next());
        System.out.println(x.multiply(y).setScale(0, RoundingMode.DOWN));
    }
} Main
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

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