5019977 in words is written as :

Five Million Nineteen Thousand Nine Hundred and Seventy Seven