import java.util.*;
import java.lang.*;
import java.io.*;
 
/* Name of the class has to be "Main" only if the class is public. */
class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
	    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
	    String s[]=br.readLine().split(" ");
      	int a=Integer.parseInt(s[0]);
		float b=Float.parseFloat(s[1]);
      	System.out.printf("%.0f",a*b);
      System.out.println();

    }
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
	    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
	    String s[]=br.readLine().split(" ");
      	int a=Integer.parseInt(s[0]);
		float b=Float.parseFloat(s[1]);
      	System.out.printf("%.0f",a*b);
      System.out.println();

    }
} Main public static void main (String[] args) throws java.lang.Exception
	{
	    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
	    String s[]=br.readLine().split(" ");
      	int a=Integer.parseInt(s[0]);
		float b=Float.parseFloat(s[1]);
      	System.out.printf("%.0f",a*b);
      System.out.println();

    } main {
	    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
	    String s[]=br.readLine().split(" ");
      	int a=Integer.parseInt(s[0]);
		float b=Float.parseFloat(s[1]);
      	System.out.printf("%.0f",a*b);
      System.out.println();

    } BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String s[]=br.readLine().split(" "); s br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a=Integer.parseInt(s[0]); a Integer.parseInt(s[0]) Integer.parseInt Integer s[0] s 0 float b=Float.parseFloat(s[1]); b Float.parseFloat(s[1]) Float.parseFloat Float s[1] s 1 System.out.printf("%.0f",a*b) System.out.printf System.out System System.out "%.0f" a*b a b System.out.println() System.out.println System.out System System.out String[] args args
import java.util.*;
import java.lang.*;
import java.io.*;
 
/* Name of the class has to be "Main" only if the class is public. */
class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
	    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
	    String s[]=br.readLine().split(" ");
      	int a=Integer.parseInt(s[0]);
		float b=Float.parseFloat(s[1]);
      	System.out.printf("%.0f",a*b);
      System.out.println();

    }
}
