In this type of question, you need to fill out the largest digityou can, one at a time, from left to right. The largest digit youcan use for the leftmost position, is 9, the largest digit for thenext position is 9, etc.; in summary, the final result is:999999(if you want AT MOST three different digits), or999987 (if you want EXACTLY three different digits).