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