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