b=(th st nd rd) read a echo $a${b[a/5%20-2?$a%10:0]-th} . *