using System; using static System.Console; using System.Linq; using System.Collections.Generic; class Program { static int NN => int.Parse(ReadLine()); static int[] NList => ReadLine().Split().Select(int.Parse).ToArray(); public static void Main() { Solve(); } static void Solve() { var n = NN; var ans = new int[n]; var sum = n * (n + 1) / 2; var tmp = 0; for (var i = 1; i + 1 < n; ++i) { WriteLine($"? {i + 1} {n}"); var s = NN; ans[i - 1] = sum - s - tmp; tmp += ans[i - 1]; } WriteLine($"? 1 {n - 1}"); ans[n - 1] = sum - NN; ans[n - 2] = sum - tmp - ans[n - 1]; WriteLine($"! {string.Join(" ", ans)}"); } }