d = ['Zelkova and Cherry', 'BANNED CONTEST', 'Stray Bullet', 'Early Summer Rain', 'Do you know Cherry Contest?'] res = ['1st', '2nd', '3rd', '4th', 'Alpha'] print(res[d.index(input())])