a = list(input().split()) v = int(a[0][0:1]) * 10000 + int(a[0][2:]) t = int(a[1]) ans = v * t // 10000 print(ans)