Subject :IMO Class : Class 4

The difference between the largest four-digit number and the smallest four-digit number
formed by using all digits 7, 4, 3, 8 (using each digit only once) is _________.

A 5265

B 3960

C 5247

D 3586

explain how it is calculated