A grain shop originally had 165 tons of rice and flour. After the rice was sold (2/7), 15 tons of flour were shipped in. At this time, the tons of rice and flour were exactly equal. How many tons of rice did this grain shop have?
某粮店原有大米和面粉共165吨，大米售出(2/7)后，又运来面粉15吨，这时大米与面粉的吨数正好相等地，这个粮店原有大米多少吨？
<gadget id="calculator">165 + 15</gadget>
<output>180</output>

<gadget id="calculator">2 / 7</gadget>
<output>2/7 = around 0.285714</output>

<gadget id="calculator">1 - (2/7)</gadget>
<output>5/7 = around 0.714286</output>

<gadget id="calculator">1 + (5/7)</gadget>
<output>12/7 = around 1.714286</output>

<gadget id="calculator">180 / (12/7)</gadget>
<output>105</output>

<result>105</result>