#include <stdio.h>
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include <functional>
#include <map>
#include <iomanip>
#include <math.h> 
#include <stack>
#include <queue>
#include <bitset>
#include <cstdlib>
#include <tuple>
#include <cctype>
#include <ctype.h>
#include <set>
#include <sstream>

using namespace std;

int main(){
	int i, j;
	double a, b;

	cin >> a >> b;

	//cout << fmod(a*b,1) << endl;

	double num = a*b;

	string s = to_string(num);

	for (i = 0; i < s.length(); i++) {
		if (s[i] != '.') {
			cout << s[i];
		}
		else {
			break;
		}
	}
	cout << endl;
/*
	cout << fixed<<setprecision(11)<< a*b << endl;


	cout << fixed << setprecision(0)<< a*b << endl;

*/


	getchar();
	getchar();
	return 0;
}