import java.math.BigDecimal;
import java.util.*;
 
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        BigDecimal x = sc.nextBigDecimal();
        BigDecimal y = sc.nextBigDecimal();
        System.out.println(x.multiply(y).toBigInteger());
    }
} import java.math.BigDecimal; BigDecimal java.math import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        BigDecimal x = sc.nextBigDecimal();
        BigDecimal y = sc.nextBigDecimal();
        System.out.println(x.multiply(y).toBigInteger());
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        BigDecimal x = sc.nextBigDecimal();
        BigDecimal y = sc.nextBigDecimal();
        System.out.println(x.multiply(y).toBigInteger());
    } main {
        Scanner sc = new Scanner(System.in);
        BigDecimal x = sc.nextBigDecimal();
        BigDecimal y = sc.nextBigDecimal();
        System.out.println(x.multiply(y).toBigInteger());
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) BigDecimal x = sc.nextBigDecimal(); x sc.nextBigDecimal() sc.nextBigDecimal sc BigDecimal y = sc.nextBigDecimal(); y sc.nextBigDecimal() sc.nextBigDecimal sc System.out.println(x.multiply(y).toBigInteger()) System.out.println System.out System System.out x.multiply(y).toBigInteger() x.multiply(y).toBigInteger x.multiply(y) x.multiply x y String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        BigDecimal x = sc.nextBigDecimal();
        BigDecimal y = sc.nextBigDecimal();
        System.out.println(x.multiply(y).toBigInteger());
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        BigDecimal x = sc.nextBigDecimal();
        BigDecimal y = sc.nextBigDecimal();
        System.out.println(x.multiply(y).toBigInteger());
    }
} Main
import java.math.BigDecimal;
import java.util.*;
 
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        BigDecimal x = sc.nextBigDecimal();
        BigDecimal y = sc.nextBigDecimal();
        System.out.println(x.multiply(y).toBigInteger());
    }
}