10004 in words is written as :

Ten Thousand Four