A person takes a boat from A to B, and falls asleep when he travels more than half of the whole journey, 15 kilometers. There are still 30 kilometers away from place B. How many kilometers are there between places A and B?
某人乘船从甲地到乙地，行了全程的一半多15千米时睡了觉，当他醒来时，发现船又行了睡觉前剩下路程的一半少10千米，此时离乙地还有30千米，问甲、乙两地相距多少千米？
<gadget id="calculator">30 - 10</gadget>
<output>20</output>

<gadget id="calculator">20 * 2</gadget>
<output>40</output>

<gadget id="calculator">40 + 15</gadget>
<output>55</output>

<gadget id="calculator">55 * 2</gadget>
<output>110</output>

<result>110</result>