import java.util.*;

public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);

		Long A = sc.nextLong();
		if(A==0){
			System.out.println("0");
			return;
		}
		String str = sc.next();
		str = str.replace(".", "");
		Long B = Long.valueOf(str);
		A *= B;
      	if(A<100){
         	System.out.println("0");
			return;
        }
      	
		String ans = String.valueOf(A);
		int len = ans.length();
		System.out.println(ans.substring(0, len-2));
		return;
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);

		Long A = sc.nextLong();
		if(A==0){
			System.out.println("0");
			return;
		}
		String str = sc.next();
		str = str.replace(".", "");
		Long B = Long.valueOf(str);
		A *= B;
      	if(A<100){
         	System.out.println("0");
			return;
        }
      	
		String ans = String.valueOf(A);
		int len = ans.length();
		System.out.println(ans.substring(0, len-2));
		return;
	}
} Main public static void main(String[] args){

		Scanner sc = new Scanner(System.in);

		Long A = sc.nextLong();
		if(A==0){
			System.out.println("0");
			return;
		}
		String str = sc.next();
		str = str.replace(".", "");
		Long B = Long.valueOf(str);
		A *= B;
      	if(A<100){
         	System.out.println("0");
			return;
        }
      	
		String ans = String.valueOf(A);
		int len = ans.length();
		System.out.println(ans.substring(0, len-2));
		return;
	} main {

		Scanner sc = new Scanner(System.in);

		Long A = sc.nextLong();
		if(A==0){
			System.out.println("0");
			return;
		}
		String str = sc.next();
		str = str.replace(".", "");
		Long B = Long.valueOf(str);
		A *= B;
      	if(A<100){
         	System.out.println("0");
			return;
        }
      	
		String ans = String.valueOf(A);
		int len = ans.length();
		System.out.println(ans.substring(0, len-2));
		return;
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Long A = sc.nextLong(); A sc.nextLong() sc.nextLong sc if(A==0){
			System.out.println("0");
			return;
		} A==0 A 0 {
			System.out.println("0");
			return;
		} System.out.println("0") System.out.println System.out System System.out "0" return; String str = sc.next(); str sc.next() sc.next sc str = str.replace(".", "") str str.replace(".", "") str.replace str "." "" Long B = Long.valueOf(str); B Long.valueOf(str) Long.valueOf Long str A *= B A B if(A<100){
         	System.out.println("0");
			return;
        } A<100 A 100 {
         	System.out.println("0");
			return;
        } System.out.println("0") System.out.println System.out System System.out "0" return; String ans = String.valueOf(A); ans String.valueOf(A) String.valueOf String A int len = ans.length(); len ans.length() ans.length ans System.out.println(ans.substring(0, len-2)) System.out.println System.out System System.out ans.substring(0, len-2) ans.substring ans 0 len-2 len 2 return; String[] args args public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);

		Long A = sc.nextLong();
		if(A==0){
			System.out.println("0");
			return;
		}
		String str = sc.next();
		str = str.replace(".", "");
		Long B = Long.valueOf(str);
		A *= B;
      	if(A<100){
         	System.out.println("0");
			return;
        }
      	
		String ans = String.valueOf(A);
		int len = ans.length();
		System.out.println(ans.substring(0, len-2));
		return;
	}
} public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);

		Long A = sc.nextLong();
		if(A==0){
			System.out.println("0");
			return;
		}
		String str = sc.next();
		str = str.replace(".", "");
		Long B = Long.valueOf(str);
		A *= B;
      	if(A<100){
         	System.out.println("0");
			return;
        }
      	
		String ans = String.valueOf(A);
		int len = ans.length();
		System.out.println(ans.substring(0, len-2));
		return;
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);

		Long A = sc.nextLong();
		if(A==0){
			System.out.println("0");
			return;
		}
		String str = sc.next();
		str = str.replace(".", "");
		Long B = Long.valueOf(str);
		A *= B;
      	if(A<100){
         	System.out.println("0");
			return;
        }
      	
		String ans = String.valueOf(A);
		int len = ans.length();
		System.out.println(ans.substring(0, len-2));
		return;
	}
}