How many three-digit positive integers exist, all of whose digits are 2's and/or 5's and/or 8's?
First digit 3 choices
Second digit 3 choices
Third digit 3 choices 3 x 3 x 3 = 27