#include #define rep(i,n) for(int i = 0; i < (n); i++) using namespace std; typedef long long ll; int main(){ cin.tie(0); ios::sync_with_stdio(0); cout << []() { char c; cin >> c; switch(c) { case 'Z': return "1st"; case 'B': return "2nd"; case 'S': return "3rd"; case 'E': return "4th"; case 'D': return "Alpha"; } return ""; }() << endl; }