Xiao Ming bought table tennis balls for the school. He bought 10 boxes, and each box contained 35-40 pieces. Xiao Ming wanted to know how many there were. He first counted 3, one more, and then 5, and there were 2 more , Counting 7 ones, there are 3 more, how many table tennis balls are there in total?
小明替学校购买乒乓球，买了10箱，每箱有35-40个不等，小明想知道有几个，他先3个一数，多了一个，再5个一数，多了2个，7个一数，多了3个，问共有多少个乒乓球？
<gadget id="calculator">3 * 5 * 7</gadget>
<output>105</output>

<gadget id="calculator">105 - 1</gadget>
<output>104</output>

<gadget id="calculator">104 / 2</gadget>
<output>52</output>

<gadget id="calculator">52 * 7</gadget>
<output>364</output>

<gadget id="calculator">364 + 3</gadget>
<output>367</output>

<result>367</result>