Among the five numbers 2, 3, 5, 7, and 9, select four numbers to form a four-digit number that has a remainder of 2 when divided by 3. How many such four-digit numbers are there?
在2，3，5，7，9这五个数字中，选出四个数字，组成被3除余2的四位数，这样的四位数有多少个？
<gadget id="calculator">4 * 3 * 2 * 1</gadget>
<output>24</output>

<gadget id="calculator">24 + 24</gadget>
<output>48</output>

<result>48</result>