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();

		sc.close();

		BigDecimal ans = a.multiply(b);

		System.out.println(ans.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();

		sc.close();

		BigDecimal ans = a.multiply(b);

		System.out.println(ans.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();

		sc.close();

		BigDecimal ans = a.multiply(b);

		System.out.println(ans.setScale(0, BigDecimal.ROUND_DOWN));

	} main {
		Scanner sc = new Scanner(System.in);

		BigDecimal a = sc.nextBigDecimal();
		BigDecimal b = sc.nextBigDecimal();

		sc.close();

		BigDecimal ans = a.multiply(b);

		System.out.println(ans.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 sc.close() sc.close sc BigDecimal ans = a.multiply(b); ans a.multiply(b) a.multiply a b System.out.println(ans.setScale(0, BigDecimal.ROUND_DOWN)) System.out.println System.out System System.out ans.setScale(0, BigDecimal.ROUND_DOWN) ans.setScale ans 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();

		sc.close();

		BigDecimal ans = a.multiply(b);

		System.out.println(ans.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();

		sc.close();

		BigDecimal ans = a.multiply(b);

		System.out.println(ans.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();

		sc.close();

		BigDecimal ans = a.multiply(b);

		System.out.println(ans.setScale(0, BigDecimal.ROUND_DOWN));

	}

}