#include using namespace std; int main() { char c; cin >> c >> c; int v, t; cin >> v >> t; cout << v * t / 10000 << endl; }