age=int(input())
if (0<age) and (age<6):
    print("khordsal")
elif (6<=age) and (age<10):
    print("koodak")
elif (10<=age) and (age<14):
    print("nojavan")
elif (14<=age) and (age<24):
    print("javan")
elif (24<=age) and (age<40):
    print("bozorgsal")
elif age>=40:
    print("miansal")