Using the given digits write the smallest and the greatest numbers. You repeat any one digit twice.
.
We get the smallest number by putting the smallest digit at the ten thousands place and repeating it at the thousands place.
Therefore, the smallest number is .
Similarly, the greatest number is obtained by putting the greatest digit at the ten thousands place and repeating it at the thousands place.
Therefore, the greatest number is .