import sys readline=sys.stdin.readline N=int(input()) P=[None]*N print("?",2,N) P[0]=N*(N+1)//2-int(input()) s=P[0] for i in range(1,N-1): print("?",1,i+1) P[i]=int(input())-s s+=P[i] P[N-1]=N*(N+1)//2-sum(P[:-1]) print("!",*P)