import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigInteger;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
        String[] line = bufferedReader.readLine().split(" ");
        BigInteger A = new BigInteger(line[0]);
        String[] s = line[1].split("\\.");
        BigInteger B;
        if (s[0].equals("0")) {
            if (s[1].startsWith("0")) {
                B = new BigInteger(s[1].substring(1));
            } else {
                B = new BigInteger(s[1]);
            }
        } else {
            B = new BigInteger(s[0] + s[1]);
        }
        BigInteger lim = new BigInteger("100");
        BigInteger res = A.multiply(B);
        if (res.compareTo(lim) < 0) {
            System.out.println("0");
        } else {
            String r = res.toString();
            System.out.println(r.substring(0, r.length() - 2));
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.math.BigInteger; BigInteger java.math public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
        String[] line = bufferedReader.readLine().split(" ");
        BigInteger A = new BigInteger(line[0]);
        String[] s = line[1].split("\\.");
        BigInteger B;
        if (s[0].equals("0")) {
            if (s[1].startsWith("0")) {
                B = new BigInteger(s[1].substring(1));
            } else {
                B = new BigInteger(s[1]);
            }
        } else {
            B = new BigInteger(s[0] + s[1]);
        }
        BigInteger lim = new BigInteger("100");
        BigInteger res = A.multiply(B);
        if (res.compareTo(lim) < 0) {
            System.out.println("0");
        } else {
            String r = res.toString();
            System.out.println(r.substring(0, r.length() - 2));
        }
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
        String[] line = bufferedReader.readLine().split(" ");
        BigInteger A = new BigInteger(line[0]);
        String[] s = line[1].split("\\.");
        BigInteger B;
        if (s[0].equals("0")) {
            if (s[1].startsWith("0")) {
                B = new BigInteger(s[1].substring(1));
            } else {
                B = new BigInteger(s[1]);
            }
        } else {
            B = new BigInteger(s[0] + s[1]);
        }
        BigInteger lim = new BigInteger("100");
        BigInteger res = A.multiply(B);
        if (res.compareTo(lim) < 0) {
            System.out.println("0");
        } else {
            String r = res.toString();
            System.out.println(r.substring(0, r.length() - 2));
        }
    } main {
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
        String[] line = bufferedReader.readLine().split(" ");
        BigInteger A = new BigInteger(line[0]);
        String[] s = line[1].split("\\.");
        BigInteger B;
        if (s[0].equals("0")) {
            if (s[1].startsWith("0")) {
                B = new BigInteger(s[1].substring(1));
            } else {
                B = new BigInteger(s[1]);
            }
        } else {
            B = new BigInteger(s[0] + s[1]);
        }
        BigInteger lim = new BigInteger("100");
        BigInteger res = A.multiply(B);
        if (res.compareTo(lim) < 0) {
            System.out.println("0");
        } else {
            String r = res.toString();
            System.out.println(r.substring(0, r.length() - 2));
        }
    } BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); bufferedReader new BufferedReader(new InputStreamReader(System.in)) String[] line = bufferedReader.readLine().split(" "); line bufferedReader.readLine().split(" ") bufferedReader.readLine().split bufferedReader.readLine() bufferedReader.readLine bufferedReader " " BigInteger A = new BigInteger(line[0]); A new BigInteger(line[0]) String[] s = line[1].split("\\."); s line[1].split("\\.") line[1].split line[1] line 1 "\\." BigInteger B; B if (s[0].equals("0")) {
            if (s[1].startsWith("0")) {
                B = new BigInteger(s[1].substring(1));
            } else {
                B = new BigInteger(s[1]);
            }
        } else {
            B = new BigInteger(s[0] + s[1]);
        } s[0].equals("0") s[0].equals s[0] s 0 "0" {
            if (s[1].startsWith("0")) {
                B = new BigInteger(s[1].substring(1));
            } else {
                B = new BigInteger(s[1]);
            }
        } if (s[1].startsWith("0")) {
                B = new BigInteger(s[1].substring(1));
            } else {
                B = new BigInteger(s[1]);
            } s[1].startsWith("0") s[1].startsWith s[1] s 1 "0" {
                B = new BigInteger(s[1].substring(1));
            } B = new BigInteger(s[1].substring(1)) B new BigInteger(s[1].substring(1)) {
                B = new BigInteger(s[1]);
            } B = new BigInteger(s[1]) B new BigInteger(s[1]) {
            B = new BigInteger(s[0] + s[1]);
        } B = new BigInteger(s[0] + s[1]) B new BigInteger(s[0] + s[1]) BigInteger lim = new BigInteger("100"); lim new BigInteger("100") BigInteger res = A.multiply(B); res A.multiply(B) A.multiply A B if (res.compareTo(lim) < 0) {
            System.out.println("0");
        } else {
            String r = res.toString();
            System.out.println(r.substring(0, r.length() - 2));
        } res.compareTo(lim) < 0 res.compareTo(lim) res.compareTo res lim 0 {
            System.out.println("0");
        } System.out.println("0") System.out.println System.out System System.out "0" {
            String r = res.toString();
            System.out.println(r.substring(0, r.length() - 2));
        } String r = res.toString(); r res.toString() res.toString res System.out.println(r.substring(0, r.length() - 2)) System.out.println System.out System System.out r.substring(0, r.length() - 2) r.substring r 0 r.length() - 2 r.length() r.length r 2 String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
        String[] line = bufferedReader.readLine().split(" ");
        BigInteger A = new BigInteger(line[0]);
        String[] s = line[1].split("\\.");
        BigInteger B;
        if (s[0].equals("0")) {
            if (s[1].startsWith("0")) {
                B = new BigInteger(s[1].substring(1));
            } else {
                B = new BigInteger(s[1]);
            }
        } else {
            B = new BigInteger(s[0] + s[1]);
        }
        BigInteger lim = new BigInteger("100");
        BigInteger res = A.multiply(B);
        if (res.compareTo(lim) < 0) {
            System.out.println("0");
        } else {
            String r = res.toString();
            System.out.println(r.substring(0, r.length() - 2));
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
        String[] line = bufferedReader.readLine().split(" ");
        BigInteger A = new BigInteger(line[0]);
        String[] s = line[1].split("\\.");
        BigInteger B;
        if (s[0].equals("0")) {
            if (s[1].startsWith("0")) {
                B = new BigInteger(s[1].substring(1));
            } else {
                B = new BigInteger(s[1]);
            }
        } else {
            B = new BigInteger(s[0] + s[1]);
        }
        BigInteger lim = new BigInteger("100");
        BigInteger res = A.multiply(B);
        if (res.compareTo(lim) < 0) {
            System.out.println("0");
        } else {
            String r = res.toString();
            System.out.println(r.substring(0, r.length() - 2));
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigInteger;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
        String[] line = bufferedReader.readLine().split(" ");
        BigInteger A = new BigInteger(line[0]);
        String[] s = line[1].split("\\.");
        BigInteger B;
        if (s[0].equals("0")) {
            if (s[1].startsWith("0")) {
                B = new BigInteger(s[1].substring(1));
            } else {
                B = new BigInteger(s[1]);
            }
        } else {
            B = new BigInteger(s[0] + s[1]);
        }
        BigInteger lim = new BigInteger("100");
        BigInteger res = A.multiply(B);
        if (res.compareTo(lim) < 0) {
            System.out.println("0");
        } else {
            String r = res.toString();
            System.out.println(r.substring(0, r.length() - 2));
        }
    }
}
