A,B=map(int,input().split()) ans=A*B n=len(str(A))-1 m=len(str(B))-1 if A % (10**n) == 0 and B%(10**m) == 0: ans/=10 print(int(ans)) elif -99999999>ans or 99999999