while 1:a=input().split();r=1;exec("x=%s^%s;r&=0