cDic = {"Zelkova and Cherry": "1st", "BANNED CONTEST" : "2nd", "Stray Bullet" : "3rd", "Early Summer Rain" : "4th", "Do you know Cherry Contest?" : "Alpha" } s = input() print(cDic[s])