v,t = raw_input().split() v,t = float(v),int(t) s = str(v * t) print s[:s.index('.')]