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