import java.util.*;
public class DongYouWei_Game
{
     static void displayMainMenu(){
	 System.out.println("1.¿ªÊ¼ÓÎÏ·");
	 System.out.println("2.ÍË³ö");

	}  
	 static int inpout(){
	   Scanner sc = new Scanner(System.in);
	   int i = -1;
	   try{
	     i = sc.nextInt();
	   }catch(Exception e){
	   System.out.println("ÇëÊäÈëÕýÈ·µÄÊý×Ö·Ç×Ö·û!");   
	   }
	    return i;  
	 } 
	 static boolean handle(int chouse){
	   switch (chouse){
	     case 1: System.out.println("ÓÎÏ·¿ªÊ¼");break;
	     case 2: return true;
	     }
	   return false;
	 
	 }
	public static void main(String[] args)
	{
		  boolean out = false;
		  while(!out){
		  displayMainMenu();  
		  int chouse =inpout(); 
		  out= handle(chouse); 
		  }
	}

}