//程序自动生成一个1-100之间的随机数字,使用程序猜出该数字
import java.util.Random;
import java.util.Scanner;
public class CaiShuZi {
public static void main(String[] args) throws Exception {
Random r= new Random();
int num=r.nextInt(100)+1;
while(true){
Scanner sc=new Scanner(System.in);
int guessNum=sc.nextInt();
if(guessNum>num){
System.out.println("大了");
}else if(guessNum<num){
System.out.println("小了");
}else{
System.out.println("猜对了");
break;
}
}
}
}