Subject :IMO Class : Class 3

How many four digit numbers can be formed, using 7, 5, 0, 2 only once in a number?

A 4

B 12

C 9

D 18

Do we have formulae to solve this problem?