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.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedOutputStream;
import java.io.UncheckedIOException;
import java.nio.charset.Charset;
import java.util.StringTokenizer;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.io.BufferedReader;
import java.io.InputStream;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author mikit
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        LightScanner in = new LightScanner(inputStream);
        LightWriter out = new LightWriter(outputStream);
        C1MadhouseEasyVersion solver = new C1MadhouseEasyVersion();
        solver.solve(1, in, out);
        out.close();
    }

    static class C1MadhouseEasyVersion {
        public void solve(int testNumber, LightScanner in, LightWriter out) {
            // out.setBoolLabel(LightWriter.BoolLabel.YES_NO_FIRST_UP);
            out.enableAutoFlush();
            int m = in.ints(), n = (m + 1) / 2;
            char[] p1 = guess(in, out, 1, n);
            char[] ans = new char[m];
            if (n == 1) {
                ans[0] = p1[0];
            } else {
                char[] p2 = guess(in, out, 1, n - 1);
                int[] cnt = new int[26];
                for (int i = 0; i < n; i++) cnt[p1[i] - 'a']++;
                for (int i = 0; i < n - 1; i++) cnt[p2[i] - 'a']--;
                for (int i = 0; i < 26; i++) if (cnt[i] > 0) ans[n - 1] = (char) (i + 'a');
                for (int i = 0; i < n / 2; i++) {
                    if (ans[n - i - 1] != p1[n - i - 1]) ArrayUtil.swap(p1, i, n - i - 1);
                    ans[i] = p1[i];
                    if (ans[i] != p2[i]) ArrayUtil.swap(p2, i, n - i - 2);
                    ans[n - i - 2] = p2[n - i - 2];
                }
            }

            char[] p3 = guess(in, out, 1, m);
            for (int i = 0; i < n; i++) {
                if (p3[i] != ans[i]) ArrayUtil.swap(p3, i, m - i - 1);
            }


            out.ans('!').ans(String.valueOf(p3)).ln();
        }

        private static char[] guess(LightScanner in, LightWriter out, int from, int to) {
            int n = to - from + 1;
            if (n == 0) return new char[0];

            out.ans('?').ans(from).ans(to).ln();
            int n2 = (n + 1) / 2;
            int[][] cnt = new int[26][n + 1];
            for (int i = 0; i < n * (n + 1) / 2; i++) {
                char[] s = in.string().toCharArray();
                if (s.length < n2) continue;
                for (char c : s) cnt[c - 'a'][s.length]++;
            }
            for (int i = n2; i < n; i++) {
                for (int j = 0; j < 26; j++) {
                    cnt[j][i] -= cnt[j][i + 1];
                }
            }
            for (int i = n; i >= n2 + 1; i--) {
                for (int j = 0; j < 26; j++) {
                    cnt[j][i] -= cnt[j][i - 1];
                }
            }

            char[] ans = new char[n];
            for (int i = 0; i < n; i++) {
                int ref = Math.max(n - i, i + 1);
                for (int j = 0; j < 26; j++) {
                    if (cnt[j][ref] > 0) {
                        cnt[j][ref]--;
                        ans[i] = (char) ('a' + j);
                        break;
                    }
                }
            }
            return ans;
        }

    }

    static class LightScanner {
        private BufferedReader reader = null;
        private StringTokenizer tokenizer = null;

        public LightScanner(InputStream in) {
            reader = new BufferedReader(new InputStreamReader(in));
        }

        public String string() {
            if (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new UncheckedIOException(e);
                }
            }
            return tokenizer.nextToken();
        }

        public int ints() {
            return Integer.parseInt(string());
        }

    }

    static class LightWriter implements AutoCloseable {
        private final Writer out;
        private boolean autoflush = false;
        private boolean breaked = true;

        public LightWriter(Writer out) {
            this.out = out;
        }

        public LightWriter(OutputStream out) {
            this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));
        }

        public void enableAutoFlush() {
            autoflush = true;
        }

        public LightWriter print(char c) {
            try {
                out.write(c);
                breaked = false;
            } catch (IOException ex) {
                throw new UncheckedIOException(ex);
            }
            return this;
        }

        public LightWriter print(String s) {
            try {
                out.write(s, 0, s.length());
                breaked = false;
            } catch (IOException ex) {
                throw new UncheckedIOException(ex);
            }
            return this;
        }

        public LightWriter ans(char c) {
            if (!breaked) {
                print(' ');
            }
            return print(c);
        }

        public LightWriter ans(String s) {
            if (!breaked) {
                print(' ');
            }
            return print(s);
        }

        public LightWriter ans(int i) {
            return ans(Integer.toString(i));
        }

        public LightWriter ln() {
            print(System.lineSeparator());
            breaked = true;
            if (autoflush) {
                try {
                    out.flush();
                } catch (IOException ex) {
                    throw new UncheckedIOException(ex);
                }
            }
            return this;
        }

        public void close() {
            try {
                out.close();
            } catch (IOException ex) {
                throw new UncheckedIOException(ex);
            }
        }

    }

    static final class ArrayUtil {
        private ArrayUtil() {
        }

        public static void swap(char[] a, int x, int y) {
            char t = a[x];
            a[x] = a[y];
            a[y] = t;
        }

    }
}