    import java.util.*;
    import java.math.BigDecimal;
     
    public class Main {
        public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            String a = sc.next();
            String b = sc.next();
            BigDecimal b1 = new BigDecimal(a);
            BigDecimal b2  = new BigDecimal(b);
             BigDecimal c = b1.multiply(b2);
             BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);
            System.out.println(d);
        }
    } import java.util.*; util.* java import java.math.BigDecimal; BigDecimal java.math public class Main {
        public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            String a = sc.next();
            String b = sc.next();
            BigDecimal b1 = new BigDecimal(a);
            BigDecimal b2  = new BigDecimal(b);
             BigDecimal c = b1.multiply(b2);
             BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);
            System.out.println(d);
        }
    } Main public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            String a = sc.next();
            String b = sc.next();
            BigDecimal b1 = new BigDecimal(a);
            BigDecimal b2  = new BigDecimal(b);
             BigDecimal c = b1.multiply(b2);
             BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);
            System.out.println(d);
        } main {
            Scanner sc = new Scanner(System.in);
            String a = sc.next();
            String b = sc.next();
            BigDecimal b1 = new BigDecimal(a);
            BigDecimal b2  = new BigDecimal(b);
             BigDecimal c = b1.multiply(b2);
             BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);
            System.out.println(d);
        } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String a = sc.next(); a sc.next() sc.next sc String b = sc.next(); b sc.next() sc.next sc BigDecimal b1 = new BigDecimal(a); b1 new BigDecimal(a) BigDecimal b2  = new BigDecimal(b); b2 new BigDecimal(b) BigDecimal c = b1.multiply(b2); c b1.multiply(b2) b1.multiply b1 b2 BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN); d c.setScale(0,BigDecimal.ROUND_DOWN) c.setScale c 0 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN System.out.println(d) System.out.println System.out System System.out d String[] args args public class Main {
        public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            String a = sc.next();
            String b = sc.next();
            BigDecimal b1 = new BigDecimal(a);
            BigDecimal b2  = new BigDecimal(b);
             BigDecimal c = b1.multiply(b2);
             BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);
            System.out.println(d);
        }
    } public class Main {
        public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            String a = sc.next();
            String b = sc.next();
            BigDecimal b1 = new BigDecimal(a);
            BigDecimal b2  = new BigDecimal(b);
             BigDecimal c = b1.multiply(b2);
             BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);
            System.out.println(d);
        }
    } Main
    import java.util.*;
    import java.math.BigDecimal;
     
    public class Main {
        public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            String a = sc.next();
            String b = sc.next();
            BigDecimal b1 = new BigDecimal(a);
            BigDecimal b2  = new BigDecimal(b);
             BigDecimal c = b1.multiply(b2);
             BigDecimal d = c.setScale(0,BigDecimal.ROUND_DOWN);
            System.out.println(d);
        }
    }