How many three-digit positive integers exist, all of whose digits are 2's and/or 5's and/or 8's?
3 choices for the first number
3 choices for the second number
3 choices for the third number
How many numbers are there in total (hint: multiply them)