#include <stdio.h>
#include<math.h>

int main(void)
{
	//int n, i;
	long double a, b, result = 1;

	//input
	scanf("%lf", &a);
	scanf("%lf", &b);

	result = a * b;

	//output
	printf("%.0f", floor(result));
	return 0;
}