s=input() l=[["Zelkova and Cherry","1st"],["BANNED CONTEST","2nd"],["Stray Bullet","3rd"],["Early Summer Rain","4th"],["Do you know Cherry Contest?","Alpha"]] for i in range(5): if s==l[i][0]:print(l[i][1])