import java.util.*;
import java.lang.*;
import java.io.*;
 
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
 
       int t=0;
       int prev[] = new int[10];
       int algoType;
       Scanner in = new Scanner(System.in);
 
       while(true) {
       algoType = in.nextInt();
	    for(int i=0; i<=9; i++) {
            	if(algoType==prev[i])
            	{
            		    System.out.println("Same as previous, Exiting ! ");
 
                	return;
            	}
	    }           
 
        System.out.println("New option, Appending... ");
        prev[t++]=algoType;
       }
 
	}
}