#include int main() { int vi, vf, v, t; scanf("%d.%d %d", &vi, &vf, &t); v = vi * 10000 + vf; printf("%d\n", v * t / 10000); return 0; }