def getage(agenum):
while True:
if agenum<16:
print('can`t eat')
# set new agenum from user input
agenum = int( input() )
continue
elif agenum<18:
print('close')
# set new agenum from user input
agenum = int( input() )
continue
print('ya')
break
# user input for the first time
age = int( input() )
getage( age )