A,B=map(int,input().split()) ans=A*B if A%100==0 and B%100==0: ans=int(A*B/10) else: if -99999999>ans or 99999999