v,t = input().split() v = int(v[2:]) t = int(input()) print(int(v*t/10000))