can someone help me fig out how to solve this
the greatest 6 digit is 998877, basically you take the largest number and go to the smallest number