import java.math.BigDecimal;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;

public class Main {

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

}
 import java.math.BigDecimal; BigDecimal java.math import java.util.Collections; Collections java.util import java.util.HashMap; HashMap java.util import java.util.HashSet; HashSet java.util import java.util.Map; Map java.util import java.util.Scanner; Scanner java.util import java.util.Set; Set java.util public class Main {

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

} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		BigDecimal n = sc.nextBigDecimal();
		BigDecimal m = sc.nextBigDecimal();
		
		System.out.println(n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN));
	} main {
		Scanner sc = new Scanner(System.in);
		BigDecimal n = sc.nextBigDecimal();
		BigDecimal m = sc.nextBigDecimal();
		
		System.out.println(n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) BigDecimal n = sc.nextBigDecimal(); n sc.nextBigDecimal() sc.nextBigDecimal sc BigDecimal m = sc.nextBigDecimal(); m sc.nextBigDecimal() sc.nextBigDecimal sc System.out.println(n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN)) System.out.println System.out System System.out n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN) n.multiply(m).setScale n.multiply(m) n.multiply n m 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 n = sc.nextBigDecimal();
		BigDecimal m = sc.nextBigDecimal();
		
		System.out.println(n.multiply(m).setScale(0, BigDecimal.ROUND_DOWN));
	}

} public class Main {

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

} Main
import java.math.BigDecimal;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;

public class Main {

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

}

