How many three-digit positive integers exist, all of whose digits are 2's and/or 5's and/or 8's?
If each place value has to have a 2, 5, or 8, there are 3 possibilities for each place value.
3*3*3= 27