#include #include int main() { char s[30]; scanf("%s", s); switch (s[0]) { case 'Z': printf("1st\n"); break; case 'B': printf("2nd\n"); break; case 'S': printf("3rd\n"); break; case 'E': printf("4th\n"); break; case 'D': printf("Alpha\n"); break; } return 0; }