print qw/1st 2nd Alpha 4th 3rd/[(ord<>)*.7%9]