s=input() a,b=map(int,s.split()) if a*b==0: i,j=0,0 else: i,j=map(int,s.replace('0','').split()) print(a*b//10 if a%100==b%100==0 and -10