In the integers from 1985 to 4891, how many numbers have the tens digit and the ones digit the same.
从1985到4891的整数中，十位数字与个位数字相同的数有多少个．
<gadget id="calculator">10 * 10</gadget>
<output>100</output>

<gadget id="calculator">2 * 100</gadget>
<output>200</output>

<gadget id="calculator">10 * 9</gadget>
<output>90</output>

<gadget id="calculator">90 - 1</gadget>
<output>89</output>

<gadget id="calculator">2 + 200 + 89</gadget>
<output>291</output>

<result>291</result>