import java.util.*;
import java.math.*;
 
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long l = sc.nextLong();
        double d = sc.nextDouble();
        sc.close();
        BigDecimal b1 = BigDecimal.valueOf(l);
        BigDecimal b2 = BigDecimal.valueOf(d);
        BigDecimal b3 = b2.multiply(b1);
        String s = b3.toPlainString();
        char[] c = s.toCharArray();
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < c.length; i++){
            if(c[i] != '.'){
                sb.append(c[i]);
            }else{
                break;
            }
        }
        System.out.println(sb.toString());
    }
} import java.util.*; util.* java import java.math.*; math.* java public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long l = sc.nextLong();
        double d = sc.nextDouble();
        sc.close();
        BigDecimal b1 = BigDecimal.valueOf(l);
        BigDecimal b2 = BigDecimal.valueOf(d);
        BigDecimal b3 = b2.multiply(b1);
        String s = b3.toPlainString();
        char[] c = s.toCharArray();
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < c.length; i++){
            if(c[i] != '.'){
                sb.append(c[i]);
            }else{
                break;
            }
        }
        System.out.println(sb.toString());
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long l = sc.nextLong();
        double d = sc.nextDouble();
        sc.close();
        BigDecimal b1 = BigDecimal.valueOf(l);
        BigDecimal b2 = BigDecimal.valueOf(d);
        BigDecimal b3 = b2.multiply(b1);
        String s = b3.toPlainString();
        char[] c = s.toCharArray();
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < c.length; i++){
            if(c[i] != '.'){
                sb.append(c[i]);
            }else{
                break;
            }
        }
        System.out.println(sb.toString());
    } main {
        Scanner sc = new Scanner(System.in);
        long l = sc.nextLong();
        double d = sc.nextDouble();
        sc.close();
        BigDecimal b1 = BigDecimal.valueOf(l);
        BigDecimal b2 = BigDecimal.valueOf(d);
        BigDecimal b3 = b2.multiply(b1);
        String s = b3.toPlainString();
        char[] c = s.toCharArray();
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < c.length; i++){
            if(c[i] != '.'){
                sb.append(c[i]);
            }else{
                break;
            }
        }
        System.out.println(sb.toString());
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long l = sc.nextLong(); l sc.nextLong() sc.nextLong sc double d = sc.nextDouble(); d sc.nextDouble() sc.nextDouble sc sc.close() sc.close sc BigDecimal b1 = BigDecimal.valueOf(l); b1 BigDecimal.valueOf(l) BigDecimal.valueOf BigDecimal l BigDecimal b2 = BigDecimal.valueOf(d); b2 BigDecimal.valueOf(d) BigDecimal.valueOf BigDecimal d BigDecimal b3 = b2.multiply(b1); b3 b2.multiply(b1) b2.multiply b2 b1 String s = b3.toPlainString(); s b3.toPlainString() b3.toPlainString b3 char[] c = s.toCharArray(); c s.toCharArray() s.toCharArray s StringBuilder sb = new StringBuilder(); sb new StringBuilder() for(int i = 0; i < c.length; i++){
            if(c[i] != '.'){
                sb.append(c[i]);
            }else{
                break;
            }
        } int i = 0; int i = 0; i 0 i < c.length i c.length c c.length i++ i++ i {
            if(c[i] != '.'){
                sb.append(c[i]);
            }else{
                break;
            }
        } {
            if(c[i] != '.'){
                sb.append(c[i]);
            }else{
                break;
            }
        } if(c[i] != '.'){
                sb.append(c[i]);
            }else{
                break;
            } c[i] != '.' c[i] c i '.' {
                sb.append(c[i]);
            } sb.append(c[i]) sb.append sb c[i] c i {
                break;
            } break; System.out.println(sb.toString()) System.out.println System.out System System.out sb.toString() sb.toString sb String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long l = sc.nextLong();
        double d = sc.nextDouble();
        sc.close();
        BigDecimal b1 = BigDecimal.valueOf(l);
        BigDecimal b2 = BigDecimal.valueOf(d);
        BigDecimal b3 = b2.multiply(b1);
        String s = b3.toPlainString();
        char[] c = s.toCharArray();
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < c.length; i++){
            if(c[i] != '.'){
                sb.append(c[i]);
            }else{
                break;
            }
        }
        System.out.println(sb.toString());
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long l = sc.nextLong();
        double d = sc.nextDouble();
        sc.close();
        BigDecimal b1 = BigDecimal.valueOf(l);
        BigDecimal b2 = BigDecimal.valueOf(d);
        BigDecimal b3 = b2.multiply(b1);
        String s = b3.toPlainString();
        char[] c = s.toCharArray();
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < c.length; i++){
            if(c[i] != '.'){
                sb.append(c[i]);
            }else{
                break;
            }
        }
        System.out.println(sb.toString());
    }
} Main
import java.util.*;
import java.math.*;
 
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        long l = sc.nextLong();
        double d = sc.nextDouble();
        sc.close();
        BigDecimal b1 = BigDecimal.valueOf(l);
        BigDecimal b2 = BigDecimal.valueOf(d);
        BigDecimal b3 = b2.multiply(b1);
        String s = b3.toPlainString();
        char[] c = s.toCharArray();
        StringBuilder sb = new StringBuilder();
        for(int i = 0; i < c.length; i++){
            if(c[i] != '.'){
                sb.append(c[i]);
            }else{
                break;
            }
        }
        System.out.println(sb.toString());
    }
}