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