#include #define PI 3.14159265359 using namespace std; const int64_t MOD = 1e9 + 7; int main() { double v; int t; cin >> v >> t; v *= 10000+0.5; //cout << v << endl; int vt = v; //cout << vt << endl; int d =vt * t; d /= 10000; cout << d << endl; }