# Original Paxa fictional films, explicit strip/lower input policy, Nature extension/fallback.
age = int(input())
interest = input().strip().lower()
if age >= 14 and interest == "adventure":
    print("Canyon code")
elif age >= 10 and interest == "adventure":
    print("River rescue")
elif interest == "adventure":
    print("Garden voyage")
elif age >= 9 and interest == "animation":
    print("Cloud builders")
elif interest == "animation":
    print("Little comet")
elif age >= 12 and interest == "mystery":
    print("Clocktower clue")
elif interest == "mystery":
    print("Missing kite")
elif age >= 11 and interest == "nature":
    print("Mountain journal")
elif interest == "nature":
    print("Pond paths")
else:
    print("Unknown category")
