import java.util.*;
import java.math.BigDecimal;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigDecimal aActual = new BigDecimal(sc.next());
    BigDecimal bActual = new BigDecimal(sc.next());
    BigDecimal ansActual = aActual.multiply(bActual);
    BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(ans);
  }
} import java.util.*; util.* java import java.math.BigDecimal; BigDecimal java.math public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigDecimal aActual = new BigDecimal(sc.next());
    BigDecimal bActual = new BigDecimal(sc.next());
    BigDecimal ansActual = aActual.multiply(bActual);
    BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(ans);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigDecimal aActual = new BigDecimal(sc.next());
    BigDecimal bActual = new BigDecimal(sc.next());
    BigDecimal ansActual = aActual.multiply(bActual);
    BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(ans);
  } main {
    Scanner sc = new Scanner(System.in);
    BigDecimal aActual = new BigDecimal(sc.next());
    BigDecimal bActual = new BigDecimal(sc.next());
    BigDecimal ansActual = aActual.multiply(bActual);
    BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(ans);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) BigDecimal aActual = new BigDecimal(sc.next()); aActual new BigDecimal(sc.next()) BigDecimal bActual = new BigDecimal(sc.next()); bActual new BigDecimal(sc.next()) BigDecimal ansActual = aActual.multiply(bActual); ansActual aActual.multiply(bActual) aActual.multiply aActual bActual BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN); ans ansActual.setScale(0, BigDecimal.ROUND_DOWN) ansActual.setScale ansActual 0 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigDecimal aActual = new BigDecimal(sc.next());
    BigDecimal bActual = new BigDecimal(sc.next());
    BigDecimal ansActual = aActual.multiply(bActual);
    BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(ans);
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigDecimal aActual = new BigDecimal(sc.next());
    BigDecimal bActual = new BigDecimal(sc.next());
    BigDecimal ansActual = aActual.multiply(bActual);
    BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(ans);
  }
} Main
import java.util.*;
import java.math.BigDecimal;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    BigDecimal aActual = new BigDecimal(sc.next());
    BigDecimal bActual = new BigDecimal(sc.next());
    BigDecimal ansActual = aActual.multiply(bActual);
    BigDecimal ans = ansActual.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(ans);
  }
}
