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