5899471 in words is written as :

Five Million Thousand Four Hundred and Seventy One