Write down the greatest number and the smallest number of four digits that can be formed by the digits using each digit only once.
The greatest number of four digits that can be formed by the digits
The smallest number of four digits that can be formed by the digits