from sys import stdin input = stdin.buffer.read def ask(x): print(f'? 1 {x + 1}') return int(input()) def answer(d): print('!', *d) n = int(input()) ans = [] sm = 0 for i in range(n - 1): x = ask(i) - sm ans.append(x) sm += x x = n * (n + 1) // 2 - sm ans.append(x) answer(ans)