The cardinality of the set {1,3,5,6,8,9} is 6 6 choices for 1st digit * 6 choices for 2nd digit * 6 choices for 3rd digit * 4 choices for 4th digit = 6*6*6*4 =