char*t,s[999];long a;main(b){b=strtol(gets(s),&t,0);a=atoi(t);a=!putchar(a*b-a-b?a*b