How to calculate the highest 9 digit number using 8,7,6,5? How to calculate similar problems using different combinations?