Xiao Ming compiled a calculation program, input any number, the screen will display the sum of 3 times the number and 2, if input 0, and input the result again, the screen will display how much
小明编了一个计算程序，输入任意一个数，屏幕将显示这个数的3倍与2的和，若输入0，并将结果再输入一次，屏幕将显示多少
<gadget id="calculator">0 * 3</gadget>
<output>0</output>

<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<gadget id="calculator">0 + 6 + 0 + 2</gadget>
<output>8</output>

<result>8</result>