v,t = map(float,input().split()) t = int(t) v = int(v*10000) print(int(v*t/10000))