Some toys were bought in the child prodigy kindergarten. If there are 8 toys in each class, there will be 2 more toys. If there are 10 toys in each class, there will be 12 toys less. How many classes are there in the kindergarten?
神童幼儿园里买来一些玩具，如果每班分8个玩具，就多出2个玩具，如果每班分10个玩具，就少12个玩具，幼儿园里有多少个班？
<gadget id="calculator">2 + 12</gadget>
<output>14</output>

<gadget id="calculator">10 - 8</gadget>
<output>2</output>

<gadget id="calculator">14 / 2</gadget>
<output>7</output>

<result>7</result>