#include using namespace std; int main(){ double v; int s; cin >> v >> s; cout << int(v * 10000) * s / 10000 << endl; }