Problem: This problem is different with hard version only by constraints on total answers length

It is an interactive problem

Venya joined a tour to the madhouse, in which orderlies play with patients the following game. Orderlies pick a string s of length n, consisting only of lowercase English letters. The player can ask two types of queries: 

  * ? l r – ask to list all substrings of s[l..r]. Substrings will be returned in random order, and in every substring, all characters will be randomly shuffled. 
  * ! s – guess the string picked by the orderlies. This query can be asked exactly once, after that the game will finish. If the string is guessed correctly, the player wins, otherwise he loses. 



The player can ask no more than 3 queries of the first type.

To make it easier for the orderlies, there is an additional limitation: the total number of returned substrings in all queries of the first type must not exceed (n+1)^2.

Venya asked you to write a program, which will guess the string by interacting with the orderlies' program and acting by the game's rules.

Your program should immediately terminate after guessing the string using a query of the second type. In case your program guessed the string incorrectly, or it violated the game rules, it will receive verdict Wrong answer.

Note that in every test case the string is fixed beforehand and will not change during the game, which means that the interactor is not adaptive.

Input

First line contains number n (1 ≤ n ≤ 100) — the length of the picked string.

Interaction

You start the interaction by reading the number n.

To ask a query about a substring from l to r inclusively (1 ≤ l ≤ r ≤ n), you should output

? l r

on a separate line. After this, all substrings of s[l..r] will be returned in random order, each substring exactly once. In every returned substring all characters will be randomly shuffled.

In the case, if you ask an incorrect query, ask more than 3 queries of the first type or there will be more than (n+1)^2 substrings returned in total, you will receive verdict Wrong answer.

To guess the string s, you should output

! s

on a separate line.

After printing each query, do not forget to flush the output. Otherwise, you will get Idleness limit exceeded. To flush the output, you can use: 

  * fflush(stdout) or cout.flush() in C++; 
  * System.out.flush() in Java; 
  * flush(output) in Pascal; 
  * stdout.flush() in Python; 
  * see documentation for other languages. 



If you received - (dash) as an answer to any query, you need to terminate your program with exit code 0 (for example, by calling exit(0)). This means that there was an error in the interaction protocol. If you don't terminate with exit code 0, you can receive any unsuccessful verdict.

Hack format

To hack a solution, use the following format:

The first line should contain one integer n (1 ≤ n ≤ 100) — the length of the string, and the following line should contain the string s.

Example

Input


4

a
aa
a

cb
b
c

c

Output


? 1 2

? 3 4

? 4 4

! aabc

Solution (in JAVA):

Solution:
import java.util.*;
import java.io.*;

public class MadhouseEasy {
    public static void main(String[] args) throws IOException{
        BufferedReader f = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
        int n = Integer.parseInt(f.readLine());
        HashMap<newString, Integer> strs = new HashMap<newString, Integer>();
        String[] arr = new String[n+1];
        if(n == 1){
            out.println("? 1 " + n);
            out.flush();
            out.println("! " + f.readLine());
            out.close();
            System.exit(0);
        }
        out.println("? 1 " + n);
        out.flush();
        for(int i = 0; i < ((n+1)*(n))/2; i++){
            String curr = f.readLine();
            Character[] cur = new Character[curr.length()];
            for(int j = 0; j < curr.length(); j++) cur[j] = curr.charAt(j);
            Arrays.sort(cur);
            StringBuilder ans = new StringBuilder();
            for(int j = 0; j < curr.length(); j++) ans.append((char)cur[j]);
            update(strs, (new newString(ans.toString())), 1);
        }
        out.println("? 2 " + n);
        out.flush();
        for(int i = 0; i < ((n)*(n-1))/2; i++){
            String curr = f.readLine();
            Character[] cur = new Character[curr.length()];
            for(int j = 0; j < curr.length(); j++) cur[j] = curr.charAt(j);
            Arrays.sort(cur);
            StringBuilder ans = new StringBuilder();
            for(int j = 0; j < curr.length(); j++) ans.append((char)cur[j]);
            update(strs, (new newString(ans.toString())), -1);
        }
        for(newString nstr: strs.keySet()){
            arr[nstr.str.length()] = nstr.str;
        }
        int[] count = new int[26];
        StringBuilder ans = new StringBuilder();
        for(int i = 1; i <= n; i++){
            int[] ncount = Arrays.copyOf(count, 26);
            for(int j = 0; j < arr[i].length(); j++){
                ncount[arr[i].charAt(j)-'a']--;
                if(ncount[arr[i].charAt(j)-'a'] < 0){
                    ans.append(arr[i].charAt(j));
                    count[arr[i].charAt(j)-'a']++;
                    break;
                }
            }
        }
        out.println("! " + ans);


        out.close();

    }
    public static void update(HashMap<newString, Integer> strs, newString nstr, int i){
        if(i > 0){
            if(!strs.containsKey(nstr)) strs.put(nstr, 1);
            else strs.put(nstr, strs.get(nstr)+1);
        }else{
            strs.put(nstr, strs.get(nstr)-1);
            if(strs.get(nstr) == 0) strs.remove(nstr);
        }
    }
    static class newString{
        public String str;
        public static long BASE = 256;
        public static long MOD = 998244853;
        public static long hash;

        public newString(String str){
            this.str = str;
            long ans = 0;
            long currMult = 1;
            for(int i = 0; i < str.length(); i++){
                ans+=((((int)str.charAt(i))*currMult)%MOD);
                ans%=MOD;
                currMult*=BASE;
                currMult%=MOD;
            }
            hash = ans;
        }

        @Override
        public int hashCode(){
            return (int)hash;
        }

        @Override
        public boolean equals(Object obj){
            if(this == obj) return true;
            if(!(obj instanceof newString)) return false;

            newString nstr = (newString)obj;

            if(this.str.length() != nstr.str.length()) return false;
            for(int i = 0; i < nstr.str.length(); i++){
                if(this.str.charAt(i) != nstr.str.charAt(i)) return false;
            }
            return true;
        }
    }
}