import java.util.Scanner;
public class Demo {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner in = new Scanner(System.in);
int number = (int) (Math.random()*100+1);
//(0,1)*100=(0,100)+1=[1,100]
int count = 0;
int a;
do {
a = in.nextInt();
if(a>number)
{
System.out.println("偏大");
}
else if (a<number)
{
System.out.println("偏小");
}
count++;
}while(a!=number);
System.out.println("恭喜你猜对了,你猜了"+count+"次");
}
}