For each of the four subsets of the two properties (a) and (b), count the number of four-digit numbers whose digits are either $1,2,3,4$, or $5:$
(a) The digits are distinct.
(b) The number is even.
Note that there are four problems here: $\emptyset$ (no further restriction), \{a\} (property
(a) holds), \{b\} (property
(b) holds), $\{a, b\}$ (both properties (a) and (b) hold).