The number of 5-digit number that can be made using the digits 1 and 2 and in which at least one digits is different, is

A. 30
B. 31
C. 32
D. none of these