f, p = raw_input().split() f = float(f) p = int(p) print int(f * p)