titles=["Zelkova and Cherry","BANNED CONTEST","Stray Bullet","Early Summer Rain","Do you know Cherry Contest?"] n=["1st","2nd","3rd","4th","Alpha"] s=input() i=titles.index(s) print(n[i])