read n m 2**32/3 echo $[~(~n^_|m^_)?-1:(~n|_)&m]