import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    double b = scan.nextDouble();
    if ((a == 0) || (b==0)){
      System.out.println("0");
      return;
    }
    String t = b+"";
    long t2 = 0;
    long t3 = 0;

    long t1 = Integer.parseInt(String.valueOf(t.charAt(0)));
    if (t.length()>=3){
      t2 = Integer.parseInt(String.valueOf(t.charAt(2)));
    }
    if (t.length()>=4){
      t3 = Integer.parseInt(String.valueOf(t.charAt(3)));
    }
    long c = (a*t1*100)+(a*t2*10)+(a*t3);
    String g = c+"";
    if (g.length()<=2){
      System.out.println("0");
      return;
    }

    for (int i=0;i<g.length()-2;i++){
      System.out.print(g.charAt(i));
    }
    System.out.println("");
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    double b = scan.nextDouble();
    if ((a == 0) || (b==0)){
      System.out.println("0");
      return;
    }
    String t = b+"";
    long t2 = 0;
    long t3 = 0;

    long t1 = Integer.parseInt(String.valueOf(t.charAt(0)));
    if (t.length()>=3){
      t2 = Integer.parseInt(String.valueOf(t.charAt(2)));
    }
    if (t.length()>=4){
      t3 = Integer.parseInt(String.valueOf(t.charAt(3)));
    }
    long c = (a*t1*100)+(a*t2*10)+(a*t3);
    String g = c+"";
    if (g.length()<=2){
      System.out.println("0");
      return;
    }

    for (int i=0;i<g.length()-2;i++){
      System.out.print(g.charAt(i));
    }
    System.out.println("");
  }
} Main public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    double b = scan.nextDouble();
    if ((a == 0) || (b==0)){
      System.out.println("0");
      return;
    }
    String t = b+"";
    long t2 = 0;
    long t3 = 0;

    long t1 = Integer.parseInt(String.valueOf(t.charAt(0)));
    if (t.length()>=3){
      t2 = Integer.parseInt(String.valueOf(t.charAt(2)));
    }
    if (t.length()>=4){
      t3 = Integer.parseInt(String.valueOf(t.charAt(3)));
    }
    long c = (a*t1*100)+(a*t2*10)+(a*t3);
    String g = c+"";
    if (g.length()<=2){
      System.out.println("0");
      return;
    }

    for (int i=0;i<g.length()-2;i++){
      System.out.print(g.charAt(i));
    }
    System.out.println("");
  } main {
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    double b = scan.nextDouble();
    if ((a == 0) || (b==0)){
      System.out.println("0");
      return;
    }
    String t = b+"";
    long t2 = 0;
    long t3 = 0;

    long t1 = Integer.parseInt(String.valueOf(t.charAt(0)));
    if (t.length()>=3){
      t2 = Integer.parseInt(String.valueOf(t.charAt(2)));
    }
    if (t.length()>=4){
      t3 = Integer.parseInt(String.valueOf(t.charAt(3)));
    }
    long c = (a*t1*100)+(a*t2*10)+(a*t3);
    String g = c+"";
    if (g.length()<=2){
      System.out.println("0");
      return;
    }

    for (int i=0;i<g.length()-2;i++){
      System.out.print(g.charAt(i));
    }
    System.out.println("");
  } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) long a = scan.nextLong(); a scan.nextLong() scan.nextLong scan double b = scan.nextDouble(); b scan.nextDouble() scan.nextDouble scan if ((a == 0) || (b==0)){
      System.out.println("0");
      return;
    } (a == 0) || (b==0) (a == 0) a 0 (b==0) b 0 {
      System.out.println("0");
      return;
    } System.out.println("0") System.out.println System.out System System.out "0" return; String t = b+""; t b+"" b "" long t2 = 0; t2 0 long t3 = 0; t3 0 long t1 = Integer.parseInt(String.valueOf(t.charAt(0))); t1 Integer.parseInt(String.valueOf(t.charAt(0))) Integer.parseInt Integer String.valueOf(t.charAt(0)) String.valueOf String t.charAt(0) t.charAt t 0 if (t.length()>=3){
      t2 = Integer.parseInt(String.valueOf(t.charAt(2)));
    } t.length()>=3 t.length() t.length t 3 {
      t2 = Integer.parseInt(String.valueOf(t.charAt(2)));
    } t2 = Integer.parseInt(String.valueOf(t.charAt(2))) t2 Integer.parseInt(String.valueOf(t.charAt(2))) Integer.parseInt Integer String.valueOf(t.charAt(2)) String.valueOf String t.charAt(2) t.charAt t 2 if (t.length()>=4){
      t3 = Integer.parseInt(String.valueOf(t.charAt(3)));
    } t.length()>=4 t.length() t.length t 4 {
      t3 = Integer.parseInt(String.valueOf(t.charAt(3)));
    } t3 = Integer.parseInt(String.valueOf(t.charAt(3))) t3 Integer.parseInt(String.valueOf(t.charAt(3))) Integer.parseInt Integer String.valueOf(t.charAt(3)) String.valueOf String t.charAt(3) t.charAt t 3 long c = (a*t1*100)+(a*t2*10)+(a*t3); c (a*t1*100)+(a*t2*10)+(a*t3) (a*t1*100)+(a*t2*10)+(a*t3) (a*t1*100) a*t1*100 a t1 100 (a*t2*10) a*t2*10 a t2 10 (a*t3) a t3 String g = c+""; g c+"" c "" if (g.length()<=2){
      System.out.println("0");
      return;
    } g.length()<=2 g.length() g.length g 2 {
      System.out.println("0");
      return;
    } System.out.println("0") System.out.println System.out System System.out "0" return; for (int i=0;i<g.length()-2;i++){
      System.out.print(g.charAt(i));
    } int i=0; int i=0; i 0 i<g.length()-2 i g.length()-2 g.length() g.length g 2 i++ i++ i {
      System.out.print(g.charAt(i));
    } {
      System.out.print(g.charAt(i));
    } System.out.print(g.charAt(i)) System.out.print System.out System System.out g.charAt(i) g.charAt g i System.out.println("") System.out.println System.out System System.out "" String[] args args public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    double b = scan.nextDouble();
    if ((a == 0) || (b==0)){
      System.out.println("0");
      return;
    }
    String t = b+"";
    long t2 = 0;
    long t3 = 0;

    long t1 = Integer.parseInt(String.valueOf(t.charAt(0)));
    if (t.length()>=3){
      t2 = Integer.parseInt(String.valueOf(t.charAt(2)));
    }
    if (t.length()>=4){
      t3 = Integer.parseInt(String.valueOf(t.charAt(3)));
    }
    long c = (a*t1*100)+(a*t2*10)+(a*t3);
    String g = c+"";
    if (g.length()<=2){
      System.out.println("0");
      return;
    }

    for (int i=0;i<g.length()-2;i++){
      System.out.print(g.charAt(i));
    }
    System.out.println("");
  }
} public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    double b = scan.nextDouble();
    if ((a == 0) || (b==0)){
      System.out.println("0");
      return;
    }
    String t = b+"";
    long t2 = 0;
    long t3 = 0;

    long t1 = Integer.parseInt(String.valueOf(t.charAt(0)));
    if (t.length()>=3){
      t2 = Integer.parseInt(String.valueOf(t.charAt(2)));
    }
    if (t.length()>=4){
      t3 = Integer.parseInt(String.valueOf(t.charAt(3)));
    }
    long c = (a*t1*100)+(a*t2*10)+(a*t3);
    String g = c+"";
    if (g.length()<=2){
      System.out.println("0");
      return;
    }

    for (int i=0;i<g.length()-2;i++){
      System.out.print(g.charAt(i));
    }
    System.out.println("");
  }
} Main
import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    double b = scan.nextDouble();
    if ((a == 0) || (b==0)){
      System.out.println("0");
      return;
    }
    String t = b+"";
    long t2 = 0;
    long t3 = 0;

    long t1 = Integer.parseInt(String.valueOf(t.charAt(0)));
    if (t.length()>=3){
      t2 = Integer.parseInt(String.valueOf(t.charAt(2)));
    }
    if (t.length()>=4){
      t3 = Integer.parseInt(String.valueOf(t.charAt(3)));
    }
    long c = (a*t1*100)+(a*t2*10)+(a*t3);
    String g = c+"";
    if (g.length()<=2){
      System.out.println("0");
      return;
    }

    for (int i=0;i<g.length()-2;i++){
      System.out.print(g.charAt(i));
    }
    System.out.println("");
  }
}
