#include<iostream>
#include<stdio>
using namespace std;
#define ll         		long long
#define setbits(x)      __builtin_popcountll(x)
#define zrobits(x)      __builtin_ctzll(x)


int main() {
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif

	long long a;
	float b;
	cin >> a;
	cin >> b;
	long long pro = (long long)a * b;
	cout << pro;

}

