eenendertigduizendvier
Ordinal (31004th): eenendertigduizendvierste
The converter also handles times and prices, with a listening drill to make them stick.