There is a bag of Chinese herbal medicine with a total weight of 170 grams. The medicine poured out for the first time is 3 grams less than half of the original medicine, and the medicine poured out for the second time is 2 grams more than the remaining (3/4) of the first time. This is the remaining medicine with a total weight of 34 grams. How many kilograms of the original Chinese herbal medicine?
有一袋中草药连袋共重170克，第一次倒出的药比原来药的一半还少3克，第二次倒出的药比第一次余下的(3/4)还多2克，这是剩下的药连袋共重34克，原来中草药多少千克？
<gadget id="calculator">3 / 4</gadget>
<output>3/4 = around 0.75</output>

<gadget id="calculator">3 * (3/4)</gadget>
<output>9/4 = around 2.25</output>

<gadget id="calculator">170 - (9/4) - 2 - 34</gadget>
<output>527/4 = around 131.75</output>

<gadget id="calculator">3 + (527/4)</gadget>
<output>539/4 = around 134.75</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">(1/2) * (3/4)</gadget>
<output>3/8 = around 0.375</output>

<gadget id="calculator">(1/2) + (3/8)</gadget>
<output>7/8 = around 0.875</output>

<gadget id="calculator">(539/4) / (7/8)</gadget>
<output>154</output>

<result>154</result>