    import java.util.Scanner;
    
    public class Main {
    	public static void main(String[] args){
    		Scanner scan = new Scanner(System.in);
    		long a = scan.nextLong();
    		double b = scan.nextDouble();
    		long c = (long) (a*b);
    		System.out.println(c);
    	}
    } import java.util.Scanner; Scanner java.util public class Main {
    	public static void main(String[] args){
    		Scanner scan = new Scanner(System.in);
    		long a = scan.nextLong();
    		double b = scan.nextDouble();
    		long c = (long) (a*b);
    		System.out.println(c);
    	}
    } Main public static void main(String[] args){
    		Scanner scan = new Scanner(System.in);
    		long a = scan.nextLong();
    		double b = scan.nextDouble();
    		long c = (long) (a*b);
    		System.out.println(c);
    	} main {
    		Scanner scan = new Scanner(System.in);
    		long a = scan.nextLong();
    		double b = scan.nextDouble();
    		long c = (long) (a*b);
    		System.out.println(c);
    	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) long a = scan.nextLong(); a scan.nextLong() scan.nextLong scan double b = scan.nextDouble(); b scan.nextDouble() scan.nextDouble scan long c = (long) (a*b); c (long) (a*b) a b System.out.println(c) System.out.println System.out System System.out c String[] args args public class Main {
    	public static void main(String[] args){
    		Scanner scan = new Scanner(System.in);
    		long a = scan.nextLong();
    		double b = scan.nextDouble();
    		long c = (long) (a*b);
    		System.out.println(c);
    	}
    } public class Main {
    	public static void main(String[] args){
    		Scanner scan = new Scanner(System.in);
    		long a = scan.nextLong();
    		double b = scan.nextDouble();
    		long c = (long) (a*b);
    		System.out.println(c);
    	}
    } Main
    import java.util.Scanner;
    
    public class Main {
    	public static void main(String[] args){
    		Scanner scan = new Scanner(System.in);
    		long a = scan.nextLong();
    		double b = scan.nextDouble();
    		long c = (long) (a*b);
    		System.out.println(c);
    	}
    }