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