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