Looking at the piece of paper with numbers written on it upside down, the three numbers 0, 1, and 8 remain unchanged, 6 is 9 if it is reversed, and 9 is 6 if it is reversed, and the rest of the numbers are meaningless if you reverse it. Some kind of game card is from 001, 002, 003, 004, ..., 998, 999 have a total of 999 cards. Then, looking at all the cards upside down, how many cards have the same value as the original card.
将写有数码的纸片倒过来看，0，1，8三个数字不变，6倒过来是9，9倒过来是6，而其余的数字倒过来则没有意义，某种游戏卡片是从001，002，003，004，…，998，999共有999张，那么，所有的卡片倒过来看，与原卡片数值保持不变的共有多少张．
<gadget id="calculator">12 + 2</gadget>
<output>14</output>

<result>14</result>