are the number 111 222 333 not to be considered as they are 3-digits and the question does not say that "all digits must be different" it says that "all the different three-digit numbers"

So is 111, 123, 132, 213 ,**222**, 231, 312, 321, 333 thus median is **222 is this a wrong approach?**