The numbers 1231, 1005, and 1993 have many similarities: they are all four digits, the highest digit is 1, and they all have exactly two identical numbers. How many such numbers are there in total?
1231，1005，1993这几个数有许多相同之处：它们都是四位数，最高位是1，都恰有两个相同的数字，一共有多少个这样的数？
<gadget id="calculator">3 * 9 * 8</gadget>
<output>216</output>

<gadget id="calculator">216 + 216</gadget>
<output>432</output>

<result>432</result>