import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
import java.util.stream.Collectors;
import java.util.stream.IntStream;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        BigDecimal a = new BigDecimal(sc.next());
        BigDecimal b = new BigDecimal(sc.next());
        BigDecimal result = a.multiply(b);
        System.out.println(result.setScale(0, RoundingMode.FLOOR));
    }
} import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util import java.util.stream.Collectors; Collectors java.util.stream import java.util.stream.IntStream; IntStream java.util.stream public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        BigDecimal a = new BigDecimal(sc.next());
        BigDecimal b = new BigDecimal(sc.next());
        BigDecimal result = a.multiply(b);
        System.out.println(result.setScale(0, RoundingMode.FLOOR));
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        BigDecimal a = new BigDecimal(sc.next());
        BigDecimal b = new BigDecimal(sc.next());
        BigDecimal result = a.multiply(b);
        System.out.println(result.setScale(0, RoundingMode.FLOOR));
    } main {
        Scanner sc = new Scanner(System.in);
        BigDecimal a = new BigDecimal(sc.next());
        BigDecimal b = new BigDecimal(sc.next());
        BigDecimal result = a.multiply(b);
        System.out.println(result.setScale(0, RoundingMode.FLOOR));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) BigDecimal a = new BigDecimal(sc.next()); a new BigDecimal(sc.next()) BigDecimal b = new BigDecimal(sc.next()); b new BigDecimal(sc.next()) BigDecimal result = a.multiply(b); result a.multiply(b) a.multiply a b System.out.println(result.setScale(0, RoundingMode.FLOOR)) System.out.println System.out System System.out result.setScale(0, RoundingMode.FLOOR) result.setScale result 0 RoundingMode.FLOOR RoundingMode RoundingMode.FLOOR String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        BigDecimal a = new BigDecimal(sc.next());
        BigDecimal b = new BigDecimal(sc.next());
        BigDecimal result = a.multiply(b);
        System.out.println(result.setScale(0, RoundingMode.FLOOR));
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        BigDecimal a = new BigDecimal(sc.next());
        BigDecimal b = new BigDecimal(sc.next());
        BigDecimal result = a.multiply(b);
        System.out.println(result.setScale(0, RoundingMode.FLOOR));
    }
} Main
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
import java.util.stream.Collectors;
import java.util.stream.IntStream;

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