Xiaogang and Xiaoli have a total of 120 yuan. After Xiaoli spent 30 yuan on shopping, the ratio of the remaining money to the amount of Xiaogang's money is 2:7. How much money did Xiaoli originally have?
小刚和小力共有120元钱，小力买东西用了30元后，剩下的钱数与小刚的钱数的比是2：7，小力原来有多少元？
<gadget id="calculator">120 - 30</gadget>
<output>90</output>

<gadget id="calculator">2 + 7</gadget>
<output>9</output>

<gadget id="calculator">7 / 9</gadget>
<output>7/9 = around 0.777778</output>

<gadget id="calculator">90 * (7/9)</gadget>
<output>70</output>

<gadget id="calculator">120 - 70</gadget>
<output>50</output>

<result>50</result>