Answer :

976421
For the largest number, put the digits in order from greatest to least.