#include using namespace std; typedef unsigned long long ull; typedef long long ll; int main(){ double v, t; cin >> v >> t; cout << (int)(1000*v*t/1000) << endl; return 0; }