import java.util.*;
import java.math.BigDecimal;

public class Main {
  public static void main (String args[]) {
    Scanner sc = new Scanner(System.in);
    
    String A = sc.next();
    String B = sc.next();
    BigDecimal b1 = new BigDecimal(A);
    BigDecimal b2 = new BigDecimal(B);
    BigDecimal b3 = b1.multiply(b2);
    BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(bd1);
  }
} 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);
    
    String A = sc.next();
    String B = sc.next();
    BigDecimal b1 = new BigDecimal(A);
    BigDecimal b2 = new BigDecimal(B);
    BigDecimal b3 = b1.multiply(b2);
    BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(bd1);
  }
} Main public static void main (String args[]) {
    Scanner sc = new Scanner(System.in);
    
    String A = sc.next();
    String B = sc.next();
    BigDecimal b1 = new BigDecimal(A);
    BigDecimal b2 = new BigDecimal(B);
    BigDecimal b3 = b1.multiply(b2);
    BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(bd1);
  } main {
    Scanner sc = new Scanner(System.in);
    
    String A = sc.next();
    String B = sc.next();
    BigDecimal b1 = new BigDecimal(A);
    BigDecimal b2 = new BigDecimal(B);
    BigDecimal b3 = b1.multiply(b2);
    BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(bd1);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String A = sc.next(); A sc.next() sc.next sc String B = sc.next(); B sc.next() sc.next sc BigDecimal b1 = new BigDecimal(A); b1 new BigDecimal(A) BigDecimal b2 = new BigDecimal(B); b2 new BigDecimal(B) BigDecimal b3 = b1.multiply(b2); b3 b1.multiply(b2) b1.multiply b1 b2 BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN); bd1 b3.setScale(0, BigDecimal.ROUND_DOWN) b3.setScale b3 0 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN System.out.println(bd1) System.out.println System.out System System.out bd1 String args[] args public class Main {
  public static void main (String args[]) {
    Scanner sc = new Scanner(System.in);
    
    String A = sc.next();
    String B = sc.next();
    BigDecimal b1 = new BigDecimal(A);
    BigDecimal b2 = new BigDecimal(B);
    BigDecimal b3 = b1.multiply(b2);
    BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(bd1);
  }
} public class Main {
  public static void main (String args[]) {
    Scanner sc = new Scanner(System.in);
    
    String A = sc.next();
    String B = sc.next();
    BigDecimal b1 = new BigDecimal(A);
    BigDecimal b2 = new BigDecimal(B);
    BigDecimal b3 = b1.multiply(b2);
    BigDecimal bd1 = b3.setScale(0, BigDecimal.ROUND_DOWN);
    System.out.println(bd1);
  }
} Main
import java.util.*;
import java.math.BigDecimal;

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