#include <stdio.h>
#include <iostream>
using namespace std;
#include <climits>
int strToInt(string str);
const int have=27;
int main(void) {
int guess;
//cin.get(guess);
do{
cin>>guess;
if(guess>have)cout<<"猜大了"<<endl;
else if(guess<have)cout<<"猜小了"<<endl;
else cout<<"猜对了"<<endl;
}while(guess!=have);
return 0;
}