#include using namespace std; int main(){ int t; double v; cin >> v >> t; int v_d = floor(v*10000+0.01); cout << v_d*t/10000 << endl; }