Xiaomei and Xiaoli each have several yuan. If Xiaomei gives Xiaoli 10 yuan, then their money is exactly equal; if Xiaoli gives Xiaomei 10 yuan, then Xiaomei has 5 times more money than Xiaoli, which is 5 times what Xiaoli has left. How much money did Xiaomei have?
小美和小丽两人各有若干元钱．如果小美給小丽10元钱，那么她们的钱数正好相等；如果小丽給小美10元钱，那么小美比小丽多的钱是小丽剩下的5倍．小美原来有多少元钱．
<gadget id="calculator">5 * 10 * 2</gadget>
<output>100</output>

<gadget id="calculator">5 * 10</gadget>
<output>50</output>

<gadget id="calculator">10 + 100 + 50</gadget>
<output>160</output>

<gadget id="calculator">5 - 1</gadget>
<output>4</output>

<gadget id="calculator">160 / 4</gadget>
<output>40</output>

<result>40</result>