When I had spare time, I wrote a pretty simple program that puts a number you type in 1st, 2nd, or 3rd place, depending on its value, or leaves it out. Feel free to use this for your game or add more places to it.