10054 in words is written as :

Ten Thousand Fifty Four