def main(): V, T = map(float, input().split()) v = round(V * 10000) ans = (v * int(T)) // 10000 print(ans) main()