def main(): N=int(input()) T=N*(N+1)//2 P=[] for i in range(1,N): print(f"? {i+1} {N}") S=int(input()) P.append(T-S) T-=S P.append(T) print("! ",end="") print(" ".join(map(str,P))) return main()