n=int(input()) l=[0]*n pr=sum(range(1,n+1)) for i in range(1,n): print("?",i+1,n) tm=int(input()) l[i-1]=pr-tm pr=tm l[-1]=pr print("!",*l)