Problem: This is an interactive problem. You should use flush operation after each printed line. For example, in C++ you should use fflush(stdout), in Java you should use System.out.flush(), and in Pascal — flush(output).

In this problem you should guess an array a which is unknown for you. The only information you have initially is the length n of the array a.

The only allowed action is to ask the sum of two elements by their indices. Formally, you can print two indices i and j (the indices should be distinct). Then your program should read the response: the single integer equals to ai + aj.

It is easy to prove that it is always possible to guess the array using at most n requests.

Write a program that will guess the array a by making at most n requests.

Interaction

In each test your program should guess a single array.

The input starts with a line containing integer n (3 ≤ n ≤ 5000) — the length of the array. Your program should read it at first.

After that your program should print to the standard output the requests about the sum of two elements or inform that the array is guessed.

  * In case your program is making a request to ask the sum of two elements, it should print line in the format "? i j" (i and j are distinct integers between 1 and n), where i and j are indices in the array a.
  * In case your program informs that the array is guessed, it should print line in the format "! a1 a2 ... an" (it is guaranteed that all ai are positive integers not exceeding 105), where ai is the i-th element of the array a. 



The response on a request is a single integer equal to ai + aj, printed on a separate line.

Your program can do at most n requests. Note that the final line «! a1 a2 ... an» is not counted as a request.

Do not forget about flush operation after each printed line.

After you program prints the guessed array, it should terminate normally.

Example

Input

5
 
9
 
7
 
9
 
11
 
6
 

Output

 
? 1 5
 
? 2 3
 
? 4 1
 
? 5 2
 
? 3 4
 
! 4 6 1 5 5

Note

The format of a test to make a hack is:

  * The first line contains an integer number n (3 ≤ n ≤ 5000) — the length of the array.
  * The second line contains n numbers a1, a2, ..., an (1 ≤ ai ≤ 105) — the elements of the array to guess. 

Solution (in JAVA):

Solution:
//package com.example.programming;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.sql.Time;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.Scanner;
import java.util.Set;
import java.util.Stack;
import java.util.Timer;
import java.util.TreeSet;
import java.util.Vector;


public class CodeforcesProblems {

    static String[] sTakeInputs;
    static int sInputPos = 0;
    static BufferedReader sBufferedReader;
    static StringBuilder sOutputBuilder;

    static int[] scanIntArray() throws Exception{
        String[] inputs = sBufferedReader.readLine().trim().split(" ");
        int[] arr = new int[inputs.length];
        for(int i = 0; i<inputs.length; i++) arr[i] = Integer.parseInt(inputs[i]);
        return arr;
    }

    static long[] scanLongArray() throws Exception{
        String[] inputs = sBufferedReader.readLine().trim().split(" ");
        long[] arr = new long[inputs.length];
        for(int i = 0; i<inputs.length; i++) arr[i] = Long.parseLong(inputs[i]);
        return arr;
    }

    static int scanInt() throws Exception{
        return Integer.parseInt(sBufferedReader.readLine().trim());
    }

    static long scanLong() throws Exception{
        return Long.parseLong(sBufferedReader.readLine().trim());
    }

    static int nextInt() throws Exception {
        if(sInputPos == 0) sTakeInputs = sBufferedReader.readLine().trim().split(" ");
        if(sTakeInputs.length <= sInputPos) {
            sTakeInputs = sBufferedReader.readLine().trim().split(" ");
            sInputPos = 0;
        }
        return Integer.parseInt(sTakeInputs[sInputPos++]);
    }

    static long nextLong() throws Exception {
        if(sInputPos == 0) sTakeInputs = sBufferedReader.readLine().trim().split(" ");
        if(sTakeInputs.length <= sInputPos) {
            sTakeInputs = sBufferedReader.readLine().trim().split(" ");
            sInputPos = 0;
        }
        return Long.parseLong(sTakeInputs[sInputPos++]);
    }

    static String nextString() throws Exception {
        if(sInputPos == 0) sTakeInputs = sBufferedReader.readLine().trim().split(" ");
        if(sTakeInputs.length <= sInputPos) {
            sTakeInputs = sBufferedReader.readLine().trim().split(" ");
            sInputPos = 0;
        }
        return sTakeInputs[sInputPos++];
    }

    static void print(int val, char ch) {
        sOutputBuilder.append(val).append(ch);
    }

    static void print(long val, char ch) {
        sOutputBuilder.append(val).append(ch);
    }

    static void print(float val, char ch) {
        sOutputBuilder.append(val).append(ch);
    }

    static void print(double val, char ch) {
        sOutputBuilder.append(val).append(ch);
    }

    static void print(String val, char ch) {
        sOutputBuilder.append(val).append(ch);
    }
    static void print(StringBuilder val, char ch) {
        sOutputBuilder.append(val).append(ch);
    }

    static void print(int x) {
        sOutputBuilder.append(x);
    }

    static void print(char ch) {
        sOutputBuilder.append(ch);
    }

    static void printf() {
        System.out.print(sOutputBuilder);
        sOutputBuilder = new StringBuilder();
    }

    static class Pair {
        int x, y;
        public Pair(int x, int y) {
            this.x = x; this.y = y;
        }
        int getCommon(Pair pair) {
            if(x == pair.x || x == pair.y) return x;
            return y;
        }
        int getOther(int v) {
            if(x == v) return y;
            return x;
        }
    }

    static void query(int[] ans, HashMap<Integer, Pair> hashMap, int f, int s, int t) throws Exception{
        System.out.println("? "+f+" "+s);
        System.out.flush();
        int x = nextInt();
        Pair p1 = hashMap.get(x);
        System.out.println("? "+f+" "+t);
        System.out.flush();
        int y = nextInt();
        Pair p2 = hashMap.get(y);
        ans[f] = p1.getCommon(p2);
        ans[s] = p1.getOther(ans[f]);
        ans[t] = p2.getOther(ans[f]);
    }

    static void query(int[] ans) throws Exception{
        System.out.println("? "+1+" "+2);
        System.out.flush();
        int ab = nextInt();
        System.out.println("? "+1+" "+3);
        System.out.flush();
        int ac = nextInt();
        System.out.println("? "+2+" "+3);
        System.out.flush();
        int bc = nextInt();
        ans[1] = (ab+ac-bc)/2;
        ans[2] = (ab+bc-ac)/2;
        ans[3] = (ac+bc-ab)/2;
    }

    static void solve() throws Exception{
        int[] arr = {4 , 8, 15, 16, 23, 42};
        int[] ans = new int[arr.length+1];
        HashMap<Integer, Pair> hashMap = new HashMap<>();
        for(int i = 0; i<arr.length-1; i++) {
            for(int j = i+1; j<arr.length; j++) {
                hashMap.put(arr[i]*arr[j], new Pair(arr[i], arr[j]));
            }
        }
        query(ans, hashMap, 1,2,3);
        query(ans, hashMap, 4,5,6);
        print('!');
        for(int i = 1; i<=arr.length; i++) {
            print(' '); print(ans[i]);
        }
        print('\n');
    }


    static void solve2() throws Exception{
        int n = nextInt();
        int[] ans = new int[n+1];
        query(ans);
        for(int i = 4; i<=n; i++) {
            System.out.println("? "+1+" "+i);
            System.out.flush();
            int ab = nextInt();
            ans[i] = ab-ans[1];
        }
        print('!'); print(' ');
        for(int i = 1; i<n; i++) print(ans[i],' ');
        print(ans[n],'\n');
    }

    public static void main (String[] args) throws Exception {
        sBufferedReader = new BufferedReader(new InputStreamReader(System.in));
        sOutputBuilder = new StringBuilder();
        solve2();
        //int t = nextInt();
        //while(t>0) {solve(); t--;}
        printf();
        System.out.flush();
    }

}