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

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		BigDecimal a = sc.nextBigDecimal();
		BigDecimal b = sc.nextBigDecimal();
		sc.close();

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

		a = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN);
		System.out.println(a.toPlainString());
	}
} Main public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		BigDecimal a = sc.nextBigDecimal();
		BigDecimal b = sc.nextBigDecimal();
		sc.close();

		a = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN);
		System.out.println(a.toPlainString());
	} main {
		Scanner sc = new Scanner(System.in);
		BigDecimal a = sc.nextBigDecimal();
		BigDecimal b = sc.nextBigDecimal();
		sc.close();

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

		a = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN);
		System.out.println(a.toPlainString());
	}
} public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		BigDecimal a = sc.nextBigDecimal();
		BigDecimal b = sc.nextBigDecimal();
		sc.close();

		a = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN);
		System.out.println(a.toPlainString());
	}
} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		BigDecimal a = sc.nextBigDecimal();
		BigDecimal b = sc.nextBigDecimal();
		sc.close();

		a = a.multiply(b).setScale(0, BigDecimal.ROUND_DOWN);
		System.out.println(a.toPlainString());
	}
}
