// No.350 d=vt // https://yukicoder.me/problems/no/350 // #include #include using namespace std; int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); string v; int t; cin >> v >> t; v.erase(v.begin(), v.begin()+2); int vv = stoi(v); cout << vv * t / 10000 << endl; }