#include <iostream>
using namespace std;

int main(){
  string S;
  getline(cin,S);
  if(S=="Zelkova and Cherry"){
    cout<<"1st"<<endl;
  }else if(S=="BANNED CONTEST"){
    cout<<"2nd"<<endl;
  }else if(S=="Stray Bullet"){
    cout<<"3rd"<<endl;
  }else if(S=="Early Summer Rain"){
    cout<<"4th"<<endl;
  }else{
    cout<<"Alpha"<<endl;
  }
}