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

class Main{
    public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String[] input = br.readLine().split(" ");

          long A = Long.parseLong(input[0]);

          BigDecimal num = new  BigDecimal(input[1]);
          BigDecimal hum = new BigDecimal("100");
          BigDecimal mul = num.multiply(hum);       

          int tmp = mul.intValue();
          long result = 0;
          result = (A * tmp)/100;
          System.out.println(result);
        }

    }
} import java.io.*; io.* java import java.math.BigDecimal; BigDecimal java.math import java.util.*; util.* java class Main{
    public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String[] input = br.readLine().split(" ");

          long A = Long.parseLong(input[0]);

          BigDecimal num = new  BigDecimal(input[1]);
          BigDecimal hum = new BigDecimal("100");
          BigDecimal mul = num.multiply(hum);       

          int tmp = mul.intValue();
          long result = 0;
          result = (A * tmp)/100;
          System.out.println(result);
        }

    }
} Main public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String[] input = br.readLine().split(" ");

          long A = Long.parseLong(input[0]);

          BigDecimal num = new  BigDecimal(input[1]);
          BigDecimal hum = new BigDecimal("100");
          BigDecimal mul = num.multiply(hum);       

          int tmp = mul.intValue();
          long result = 0;
          result = (A * tmp)/100;
          System.out.println(result);
        }

    } main {
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String[] input = br.readLine().split(" ");

          long A = Long.parseLong(input[0]);

          BigDecimal num = new  BigDecimal(input[1]);
          BigDecimal hum = new BigDecimal("100");
          BigDecimal mul = num.multiply(hum);       

          int tmp = mul.intValue();
          long result = 0;
          result = (A * tmp)/100;
          System.out.println(result);
        }

    } try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String[] input = br.readLine().split(" ");

          long A = Long.parseLong(input[0]);

          BigDecimal num = new  BigDecimal(input[1]);
          BigDecimal hum = new BigDecimal("100");
          BigDecimal mul = num.multiply(hum);       

          int tmp = mul.intValue();
          long result = 0;
          result = (A * tmp)/100;
          System.out.println(result);
        } {
          String[] input = br.readLine().split(" ");

          long A = Long.parseLong(input[0]);

          BigDecimal num = new  BigDecimal(input[1]);
          BigDecimal hum = new BigDecimal("100");
          BigDecimal mul = num.multiply(hum);       

          int tmp = mul.intValue();
          long result = 0;
          result = (A * tmp)/100;
          System.out.println(result);
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) new BufferedReader(new InputStreamReader(System.in)) String[] input = br.readLine().split(" "); input br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " long A = Long.parseLong(input[0]); A Long.parseLong(input[0]) Long.parseLong Long input[0] input 0 BigDecimal num = new  BigDecimal(input[1]); num new  BigDecimal(input[1]) BigDecimal hum = new BigDecimal("100"); hum new BigDecimal("100") BigDecimal mul = num.multiply(hum); mul num.multiply(hum) num.multiply num hum int tmp = mul.intValue(); tmp mul.intValue() mul.intValue mul long result = 0; result 0 result = (A * tmp)/100 result (A * tmp)/100 (A * tmp) A tmp 100 System.out.println(result) System.out.println System.out System System.out result String args[] args
import java.io.*;
import java.math.BigDecimal;
import java.util.*;

class Main{
    public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
          String[] input = br.readLine().split(" ");

          long A = Long.parseLong(input[0]);

          BigDecimal num = new  BigDecimal(input[1]);
          BigDecimal hum = new BigDecimal("100");
          BigDecimal mul = num.multiply(hum);       

          int tmp = mul.intValue();
          long result = 0;
          result = (A * tmp)/100;
          System.out.println(result);
        }

    }
}