#include void solve() { int v; { int vt, vf; char tmp; std::cin >> vt >> tmp >> vf; v = vt * 10000 + vf; } int t; std::cin >> t; std::cout << v * t / 10000 << std::endl; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }