Problem: This is an interactive problem. In the output section below you will see the information about flushing the output.

Bear Limak thinks of some hidden number — an integer from interval [2, 100]. Your task is to say if the hidden number is prime or composite.

Integer x > 1 is called prime if it has exactly two distinct divisors, 1 and x. If integer x > 1 is not prime, it's called composite.

You can ask up to 20 queries about divisors of the hidden number. In each query you should print an integer from interval [2, 100]. The system will answer "yes" if your integer is a divisor of the hidden number. Otherwise, the answer will be "no".

For example, if the hidden number is 14 then the system will answer "yes" only if you print 2, 7 or 14.

When you are done asking queries, print "prime" or "composite" and terminate your program.

You will get the Wrong Answer verdict if you ask more than 20 queries, or if you print an integer not from the range [2, 100]. Also, you will get the Wrong Answer verdict if the printed answer isn't correct.

You will get the Idleness Limit Exceeded verdict if you don't print anything (but you should) or if you forget about flushing the output (more info below).

Input

After each query you should read one string from the input. It will be "yes" if the printed integer is a divisor of the hidden number, and "no" otherwise.

Output

Up to 20 times you can ask a query — print an integer from interval [2, 100] in one line. You have to both print the end-of-line character and flush the output. After flushing you should read a response from the input.

In any moment you can print the answer "prime" or "composite" (without the quotes). After that, flush the output and terminate your program.

To flush you can use (just after printing an integer and end-of-line): 

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



Hacking. To hack someone, as the input you should print the hidden number — one integer from the interval [2, 100]. Of course, his/her solution won't be able to read the hidden number from the input.

Examples

Input

yes
no
yes


Output

2
80
5
composite


Input

no
yes
no
no
no


Output

58
59
78
78
2
prime

Note

The hidden number in the first query is 30. In a table below you can see a better form of the provided example of the communication process.

<image>

The hidden number is divisible by both 2 and 5. Thus, it must be composite. Note that it isn't necessary to know the exact value of the hidden number. In this test, the hidden number is 30.

<image>

59 is a divisor of the hidden number. In the interval [2, 100] there is only one number with this divisor. The hidden number must be 59, which is prime. Note that the answer is known even after the second query and you could print it then and terminate. Though, it isn't forbidden to ask unnecessary queries (unless you exceed the limit of 20 queries).

Solution (in JAVA):

Solution:
import javafx.util.Pair;

import java.io.*;
import java.sql.Array;
import java.util.*;
public class test {
    int max = 0;
    long max1 = 0;
    boolean visited[];
    int color[];
    boolean bi=true;
    ArrayList<Integer> b=new ArrayList<>();
    ArrayList<Integer> c=new ArrayList<>();
    PrintStream out = System.out;
    int signx[] = {1,-1,0 ,0, 1, -1,-1,1};
    int signy[]=  {0,0,1,-1,  1,-1,1,-1};
    ArrayList<Integer> queue = new ArrayList<>();

    public static void main(String args[]) throws IOException {
        test obj = new test();
        obj.start();
    }

    void start() throws IOException {
        //Reader sc = new Reader();
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        Scanner sc = new Scanner(System.in);
       int a[]={2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47,4,9,25,49};
        int c=0;
        for(int i=0;i<a.length;i++)
        {
            out.println(a[i]);
            System.out.flush();
            String s=sc.next();
            if(s.equals("yes"))
                c+=1;
        }
        if(c<=1)
            out.println("prime");
        else
            out.println("composite");
        System.out.flush();


    }


    //<---------------------------------------------------------------------------------------------------------------->//


    //printing 2-d array
    private void println(int[][] a,int n,int m) {
        for(int i=0;i<n;i++)
        {
            for(int j=0;j<m;j++)
                System.out.print(a[i][j]+" ");
            System.out.println();
        }

    }
    void println(ArrayList<Integer> a)
    {
        for (int b:a
                ) {
            System.out.print(b+" ");
        }
    }


    //modified dfs for chessboard, matrix
  /*  void dfs(char a[][],int i,int j,char t,int n,int m)
    {
        //visited[i]=true;
        a[i][j]=t;
        if(t=='B')
            t='W';
        else
            t='B';
        for (int c= 0; c < 4; c++) {

            int temp=i+sign[2*c];
            int temp2=j+sign[2*c+1];
            if(temp>=0&&temp<n&&temp2>=0&&temp2<m) {
                if(a[temp][temp2]=='.'&&a[temp][temp2]!='-')
                    dfs(a,temp,temp2,t,n,m);
            }
        }
    }*/


     //constructing segment tree
    private void constructseg(long[] seg, long[] input, int p, int q, int pos) {
        if(p==q)
        {
            seg[pos]=input[p];
            return;
        }
        int mid=(q+p)/2;
        constructseg(seg,input,p,mid,2*pos+1);
        constructseg(seg,input,mid+1,q,2*pos+2);
        seg[pos]=seg[2*pos+1]+seg[2*pos+2];
    }

     void bipartite(ArrayList<Integer> a[],int i)
     {
         int presentcolor=color[i];
         int nextcolor;
         if(color[i]==0) {
             nextcolor=1;
           b.add(i);
         }
         else
         {
             nextcolor=0;
             c.add(i);
         }
         for(int j=0;j<a[i].size();j++)
         {
             if(color[a[i].get(j)]==presentcolor)
                 bi=false;
             else if(color[a[i].get(j)]==-1)
             {
                 color[a[i].get(j)]=nextcolor;
                 bipartite(a,a[i].get(j));
             }
         }

     }
    //traversing through a arrayList graph
    void dfs(ArrayList<Integer> node[],int i,int max1)
    {
        if(max1==2) {
            c.add(i);
            max1 = 1;
        }
        else
        {
            max1=2;
            b.add(i);
        }
        visited[i]=true;
   /*     if(cat[i]==1) {
            count++;
        }
        else
            count=0;
        if(count>k) {
            return;
        }
        if(node[i].size()==1&&i!=0) {
            max += 1;
        }*/
        for (int j = 0; j < node[i].size(); j++) {
            if(!visited[node[i].get(j)]) {
                max--;
                dfs(node, node[i].get(j),max1);
            }
        }

    }


    //printing arraylist array
    void println(ArrayList<Integer> a[])
    {
          for (ArrayList<Integer> b:a
               ) {
              System.out.println(b.toString());
          }
    }

    //sorting 2 array based on a, Complexity is O(n^2)
    void sort(int a[],int b[],int n)
    {
        for(int i=1;i<n;i++)
        {
            int index=i;
            for(int j=i-1;j>=0;j--)
            {
              //  println(a);
                if(a[index]<a[j])
                {
                    int temp=a[index];
                    int temp2=b[index];
                    a[index]=a[j];
                    b[index]=b[j];
                    a[j]=temp;
                    b[j]=temp2;
                    index=j;

                }
                else
                    break;
            }
        }

    }
     // to create and initialize Integer array
    private int[] intArray(int a, Scanner sc) {
        int temp[]=new int[a];
        for(int i=0;i<a;i++) {
            temp[i]=sc.nextInt();
        }
        return temp;
    }

    private int[] intArray(int a, Reader sc) throws IOException {
        int temp[]=new int[a];
        for(int i=0;i<a;i++) {
            temp[i]=sc.nextInt();
        }
        return temp;
    }// / to create and initialize Long Array
    private long[] longArray(int a, Scanner sc) {
        long temp[]=new long[a];
        for(int i=0;i<a;i++) {
            temp[i]=sc.nextLong();
        }
        return temp;
    }

    // displaying Map contents key--value
    public static void printMap(Map mp) {
        Iterator it = mp.entrySet().iterator();
        while (it.hasNext()) {
            Map.Entry pair = (Map.Entry)it.next();
            System.out.println(pair.getKey() + " = " + pair.getValue());
            it.remove(); // avoids a ConcurrentModificationException
        }
    }


    // Return arrayList of minimum factor of number
    // 24= 2*2*2*3;
    private ArrayList<Integer> minFactor(int a) {
        ArrayList<Integer> obj=new ArrayList<>();
        for(int i=2;i<=a;i++)
        {
            while(a!=0&&a%i==0)
            {
                obj.add(i);
                a/=i;
            }
        }
        return obj;
    }


    // check whether the number is prime or not
    public static boolean isPrimeNumber(int i) {
        int factors = 0;
        int j = 1;

        while(j <= i)
        {
            if(i % j == 0)
            {
                factors++;
            }
            j++;
        }
        return (factors == 2);
    }

    // creating and initializing arrayList
    private void initArrayList(ArrayList<Integer>[] tempa) {
        for(int i=0;i<tempa.length;i++)
            tempa[i]=new ArrayList<>();
    }

    // return factorial contents as ArrayList
    private ArrayList<Integer> factdigit(int i)
    {
        ArrayList<Integer> temp=new ArrayList<>();
        for(int j=i;j>1;j--)
        {
            temp.add(j);
        }
        return temp;
    }

    //printing Integer array
    private  void println(int a[])
    {
        for(int i=0;i<a.length;i++)
            System.out.print(a[i]+" ");
    }
    int factorial(int n){
        if (n == 0)
            return 1;
        else
            return((n %1000000007)* (factorial(n-1)%1000000007));
    }
}





class Reader {
    final private int BUFFER_SIZE = 1 << 16;
    private DataInputStream din;
    private byte[] buffer;
    private int bufferPointer, bytesRead;

    public Reader() {
        din = new DataInputStream(System.in);
        buffer = new byte[BUFFER_SIZE];
        bufferPointer = bytesRead = 0;
    }

    public Reader(String file_name) throws IOException {
        din = new DataInputStream(new FileInputStream(file_name));
        buffer = new byte[BUFFER_SIZE];
        bufferPointer = bytesRead = 0;
    }

    public String readLine() throws IOException {
        byte[] buf = new byte[300]; // line length
        int cnt = 0, c;
        while ((c = read()) != -1) {
            if (c == '\n')
                break;
            buf[cnt++] = (byte) c;
        }
        return new String(buf, 0, cnt);
    }

    public int nextInt() throws IOException {
        int ret = 0;
        byte c = read();
        while (c <= ' ')
            c = read();
        boolean neg = (c == '-');
        if (neg)
            c = read();
        do {
            ret = ret * 10 + c - '0';
        } while ((c = read()) >= '0' && c <= '9');

        if (neg)
            return -ret;
        return ret;
    }

    public long nextLong() throws IOException {
        long ret = 0;
        byte c = read();
        while (c <= ' ')
            c = read();
        boolean neg = (c == '-');
        if (neg)
            c = read();
        do {
            ret = ret * 10 + c - '0';
        }
        while ((c = read()) >= '0' && c <= '9');
        if (neg)
            return -ret;
        return ret;
    }

    public double nextDouble() throws IOException {
        double ret = 0, div = 1;
        byte c = read();
        while (c <= ' ')
            c = read();
        boolean neg = (c == '-');
        if (neg)
            c = read();

        do {
            ret = ret * 10 + c - '0';
        }
        while ((c = read()) >= '0' && c <= '9');

        if (c == '.') {
            while ((c = read()) >= '0' && c <= '9') {
                ret += (c - '0') / (div *= 10);
            }
        }

        if (neg)
            return -ret;
        return ret;
    }

    private void fillBuffer() throws IOException {
        bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);
        if (bytesRead == -1)
            buffer[0] = -1;
    }

    private byte read() throws IOException {
        if (bufferPointer == bytesRead)
            fillBuffer();
        return buffer[bufferPointer++];
    }

    public void close() throws IOException {
        if (din == null)
            return;
        din.close();
    }
}