n,p; main(){scanf("%d%d",&n,&p);puts("!="+((!p|n)==1));}