let s = readLine stdin echo case s[0]: of 'Z': "1st" of 'B': "2nd" of 'S': "3rd" of 'E': "4th" else: "Alpha"