A certain number has four digits, the sum of which is 10, If you exchange the first and the last digits, the new number will be 2997 larger, If you exchange the middle two digits of the original number, the new number will be 90 larger, This last enlarged number plus the original number equals 2558, What is the original number?