#int(input())
#map(int, input().split())
#list(map(int, input().split()))

S = input()

a = [
    "1st",
    "2nd",
    "3rd",
    "4th",
    "Alpha"]

b = [
    "Zelkova and Cherry",
    "BANNED CONTEST",
    "Stray Bullet",
    "Early Summer Rain",
    "Do you know Cherry Contest?"
]

print(a[b.index(S)])