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

public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner scanner = new Scanner(System.in);
        
        String A = scanner.next();
        String B = scanner.next();
        
        BigDecimal bA = new BigDecimal(A);
        BigDecimal bB = new BigDecimal(B);
        
        BigDecimal ans = bA.multiply(bB);
        BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);
        
        System.out.println(Ans);
    }
} import java.util.*; util.* java import java.math.BigDecimal; BigDecimal java.math public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner scanner = new Scanner(System.in);
        
        String A = scanner.next();
        String B = scanner.next();
        
        BigDecimal bA = new BigDecimal(A);
        BigDecimal bB = new BigDecimal(B);
        
        BigDecimal ans = bA.multiply(bB);
        BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);
        
        System.out.println(Ans);
    }
} Main public static void main(String[] args) throws Exception {
        
        Scanner scanner = new Scanner(System.in);
        
        String A = scanner.next();
        String B = scanner.next();
        
        BigDecimal bA = new BigDecimal(A);
        BigDecimal bB = new BigDecimal(B);
        
        BigDecimal ans = bA.multiply(bB);
        BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);
        
        System.out.println(Ans);
    } main {
        
        Scanner scanner = new Scanner(System.in);
        
        String A = scanner.next();
        String B = scanner.next();
        
        BigDecimal bA = new BigDecimal(A);
        BigDecimal bB = new BigDecimal(B);
        
        BigDecimal ans = bA.multiply(bB);
        BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);
        
        System.out.println(Ans);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String A = scanner.next(); A scanner.next() scanner.next scanner String B = scanner.next(); B scanner.next() scanner.next scanner BigDecimal bA = new BigDecimal(A); bA new BigDecimal(A) BigDecimal bB = new BigDecimal(B); bB new BigDecimal(B) BigDecimal ans = bA.multiply(bB); ans bA.multiply(bB) bA.multiply bA bB BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN); Ans ans.setScale(0,BigDecimal.ROUND_DOWN) ans.setScale ans 0 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN System.out.println(Ans) System.out.println System.out System System.out Ans String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner scanner = new Scanner(System.in);
        
        String A = scanner.next();
        String B = scanner.next();
        
        BigDecimal bA = new BigDecimal(A);
        BigDecimal bB = new BigDecimal(B);
        
        BigDecimal ans = bA.multiply(bB);
        BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);
        
        System.out.println(Ans);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner scanner = new Scanner(System.in);
        
        String A = scanner.next();
        String B = scanner.next();
        
        BigDecimal bA = new BigDecimal(A);
        BigDecimal bB = new BigDecimal(B);
        
        BigDecimal ans = bA.multiply(bB);
        BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);
        
        System.out.println(Ans);
    }
} Main
import java.util.*;
import java.math.BigDecimal;

public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner scanner = new Scanner(System.in);
        
        String A = scanner.next();
        String B = scanner.next();
        
        BigDecimal bA = new BigDecimal(A);
        BigDecimal bB = new BigDecimal(B);
        
        BigDecimal ans = bA.multiply(bB);
        BigDecimal Ans = ans.setScale(0,BigDecimal.ROUND_DOWN);
        
        System.out.println(Ans);
    }
}
