from fractions import Fraction n, m = map(Fraction, raw_input().split()) print int(n*m)