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