N = int(input()) S = (N * (N+1))//2 ANS = ['!'] for l in range(2,N+1): tmp = ['?',l,N] print(*tmp) s = int(input()) ANS.append(S-s) S-=ANS[-1] ANS.append(S) print(*ANS)