For a four digit number, the number on one digit is 5, the number on ten digit is 8, and the sum of any three adjacent digits is 20. What is the four digit number

For a four digit number, the number on one digit is 5, the number on ten digit is 8, and the sum of any three adjacent digits is 20. What is the four digit number


five thousand seven hundred and eighty-five