import java.math.BigDecimal;
import java.util.*;
import java.util.regex.Pattern;
public class Main {
  public static void main(String[] args){
    new Main().run();
  }

  void run() {
    Scanner sc = new Scanner(System.in);
    BigDecimal A = new BigDecimal(sc.next());
    BigDecimal B = new BigDecimal(sc.next().replace(".", ""));
    BigDecimal mul = A.multiply(B);
    String ans = A.multiply(B).toPlainString();
    if (mul.compareTo(new BigDecimal(100)) < 0) {
      ans = "0";
    }
    int len = ans.length();
    if (2 < len) {
      ans = ans.substring(0, ans.length() - 2);
    }
    System.out.println(ans);
  }
} import java.math.BigDecimal; BigDecimal java.math import java.util.*; util.* java import java.util.regex.Pattern; Pattern java.util.regex public class Main {
  public static void main(String[] args){
    new Main().run();
  }

  void run() {
    Scanner sc = new Scanner(System.in);
    BigDecimal A = new BigDecimal(sc.next());
    BigDecimal B = new BigDecimal(sc.next().replace(".", ""));
    BigDecimal mul = A.multiply(B);
    String ans = A.multiply(B).toPlainString();
    if (mul.compareTo(new BigDecimal(100)) < 0) {
      ans = "0";
    }
    int len = ans.length();
    if (2 < len) {
      ans = ans.substring(0, ans.length() - 2);
    }
    System.out.println(ans);
  }
} Main public static void main(String[] args){
    new Main().run();
  } main {
    new Main().run();
  } new Main().run() new Main().run new Main() String[] args args void run() {
    Scanner sc = new Scanner(System.in);
    BigDecimal A = new BigDecimal(sc.next());
    BigDecimal B = new BigDecimal(sc.next().replace(".", ""));
    BigDecimal mul = A.multiply(B);
    String ans = A.multiply(B).toPlainString();
    if (mul.compareTo(new BigDecimal(100)) < 0) {
      ans = "0";
    }
    int len = ans.length();
    if (2 < len) {
      ans = ans.substring(0, ans.length() - 2);
    }
    System.out.println(ans);
  } run {
    Scanner sc = new Scanner(System.in);
    BigDecimal A = new BigDecimal(sc.next());
    BigDecimal B = new BigDecimal(sc.next().replace(".", ""));
    BigDecimal mul = A.multiply(B);
    String ans = A.multiply(B).toPlainString();
    if (mul.compareTo(new BigDecimal(100)) < 0) {
      ans = "0";
    }
    int len = ans.length();
    if (2 < len) {
      ans = ans.substring(0, ans.length() - 2);
    }
    System.out.println(ans);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) BigDecimal A = new BigDecimal(sc.next()); A new BigDecimal(sc.next()) BigDecimal B = new BigDecimal(sc.next().replace(".", "")); B new BigDecimal(sc.next().replace(".", "")) BigDecimal mul = A.multiply(B); mul A.multiply(B) A.multiply A B String ans = A.multiply(B).toPlainString(); ans A.multiply(B).toPlainString() A.multiply(B).toPlainString A.multiply(B) A.multiply A B if (mul.compareTo(new BigDecimal(100)) < 0) {
      ans = "0";
    } mul.compareTo(new BigDecimal(100)) < 0 mul.compareTo(new BigDecimal(100)) mul.compareTo mul new BigDecimal(100) 0 {
      ans = "0";
    } ans = "0" ans "0" int len = ans.length(); len ans.length() ans.length ans if (2 < len) {
      ans = ans.substring(0, ans.length() - 2);
    } 2 < len 2 len {
      ans = ans.substring(0, ans.length() - 2);
    } ans = ans.substring(0, ans.length() - 2) ans ans.substring(0, ans.length() - 2) ans.substring ans 0 ans.length() - 2 ans.length() ans.length ans 2 System.out.println(ans) System.out.println System.out System System.out ans public class Main {
  public static void main(String[] args){
    new Main().run();
  }

  void run() {
    Scanner sc = new Scanner(System.in);
    BigDecimal A = new BigDecimal(sc.next());
    BigDecimal B = new BigDecimal(sc.next().replace(".", ""));
    BigDecimal mul = A.multiply(B);
    String ans = A.multiply(B).toPlainString();
    if (mul.compareTo(new BigDecimal(100)) < 0) {
      ans = "0";
    }
    int len = ans.length();
    if (2 < len) {
      ans = ans.substring(0, ans.length() - 2);
    }
    System.out.println(ans);
  }
} public class Main {
  public static void main(String[] args){
    new Main().run();
  }

  void run() {
    Scanner sc = new Scanner(System.in);
    BigDecimal A = new BigDecimal(sc.next());
    BigDecimal B = new BigDecimal(sc.next().replace(".", ""));
    BigDecimal mul = A.multiply(B);
    String ans = A.multiply(B).toPlainString();
    if (mul.compareTo(new BigDecimal(100)) < 0) {
      ans = "0";
    }
    int len = ans.length();
    if (2 < len) {
      ans = ans.substring(0, ans.length() - 2);
    }
    System.out.println(ans);
  }
} Main
import java.math.BigDecimal;
import java.util.*;
import java.util.regex.Pattern;
public class Main {
  public static void main(String[] args){
    new Main().run();
  }

  void run() {
    Scanner sc = new Scanner(System.in);
    BigDecimal A = new BigDecimal(sc.next());
    BigDecimal B = new BigDecimal(sc.next().replace(".", ""));
    BigDecimal mul = A.multiply(B);
    String ans = A.multiply(B).toPlainString();
    if (mul.compareTo(new BigDecimal(100)) < 0) {
      ans = "0";
    }
    int len = ans.length();
    if (2 < len) {
      ans = ans.substring(0, ans.length() - 2);
    }
    System.out.println(ans);
  }
}
