One day in summer, the frog said: "Today I ate 3210 mosquitoes." The spider said: "You brag, I counted 344 mosquitoes for you." There are eight legs, counted in octal. So in decimal count, how many mosquitoes did the frog eat?
夏季的一天，青蛙说："今天我吃了3210只蚊子．"蜘蛛说："你吹牛，我替你数的是344只蚊子．"原来青蛙有4条腿，按四进制计数，而蜘蛛有八条腿，按八进制计数．那么按十进制计数，青蛙吃了多少只蚊子？
<gadget id="calculator">4 ** 3</gadget>
<output>64</output>

<gadget id="calculator">3 * 64</gadget>
<output>192</output>

<gadget id="calculator">4 ** 2</gadget>
<output>16</output>

<gadget id="calculator">2 * 16</gadget>
<output>32</output>

<gadget id="calculator">4 ** 1</gadget>
<output>4</output>

<gadget id="calculator">1 * 4</gadget>
<output>4</output>

<gadget id="calculator">192 + 32 + 4 + 0</gadget>
<output>228</output>

<result>228</result>