9999999504 in words is written as :

Nine Billion Million Thousand Five Hundred and Four