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 bd = new BigDecimal(a);
        BigDecimal bdb = new BigDecimal(b);
         BigDecimal ans = bd.multiply(bdb);
         BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);
        System.out.println(anss);
    }
} 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 bd = new BigDecimal(a);
        BigDecimal bdb = new BigDecimal(b);
         BigDecimal ans = bd.multiply(bdb);
         BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);
        System.out.println(anss);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String a = sc.next();
        String b = sc.next();
        BigDecimal bd = new BigDecimal(a);
        BigDecimal bdb = new BigDecimal(b);
         BigDecimal ans = bd.multiply(bdb);
         BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);
        System.out.println(anss);
    } main {
        Scanner sc = new Scanner(System.in);
        String a = sc.next();
        String b = sc.next();
        BigDecimal bd = new BigDecimal(a);
        BigDecimal bdb = new BigDecimal(b);
         BigDecimal ans = bd.multiply(bdb);
         BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);
        System.out.println(anss);
    } 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 bd = new BigDecimal(a); bd new BigDecimal(a) BigDecimal bdb = new BigDecimal(b); bdb new BigDecimal(b) BigDecimal ans = bd.multiply(bdb); ans bd.multiply(bdb) bd.multiply bd bdb BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN); anss ans.setScale(0,BigDecimal.ROUND_DOWN) ans.setScale ans 0 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN System.out.println(anss) System.out.println System.out System System.out anss 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 bd = new BigDecimal(a);
        BigDecimal bdb = new BigDecimal(b);
         BigDecimal ans = bd.multiply(bdb);
         BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);
        System.out.println(anss);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String a = sc.next();
        String b = sc.next();
        BigDecimal bd = new BigDecimal(a);
        BigDecimal bdb = new BigDecimal(b);
         BigDecimal ans = bd.multiply(bdb);
         BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);
        System.out.println(anss);
    }
} 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 bd = new BigDecimal(a);
        BigDecimal bdb = new BigDecimal(b);
         BigDecimal ans = bd.multiply(bdb);
         BigDecimal anss = ans.setScale(0,BigDecimal.ROUND_DOWN);
        System.out.println(anss);
    }
}
