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

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

public class Main
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        
        BigDecimal A = sc.nextBigDecimal();
        BigDecimal B = sc.nextBigDecimal();
        
        System.out.println(A.multiply(B).setScale(0, BigDecimal.ROUND_DOWN));
    }
}
