a and b began business with rs. 3000 and rs. 4000 after 8 months, a withdraws rs. 1000 and b advances rs. 1000 more. at the end of the year, their profits amounted to rs. 672 find the share of a.	Choose the correct choice from the following choices
A) 256 B) 388 C) 379 D) 277 E) 122
<gadget id="calculator">3_000 * 8</gadget>
<output>24_000</output>

<gadget id="calculator">3_000 - 1_000</gadget>
<output>2_000</output>

<gadget id="calculator">12 - 8</gadget>
<output>4</output>

<gadget id="calculator">2_000 * 4</gadget>
<output>8_000</output>

<gadget id="calculator">24_000 + 8_000</gadget>
<output>32_000</output>

<gadget id="calculator">4_000 * 8</gadget>
<output>32_000</output>

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

<gadget id="calculator">5_000 * 4</gadget>
<output>20_000</output>

<gadget id="calculator">32_000 + 20_000</gadget>
<output>52_000</output>

<gadget id="calculator">32_000 + 52_000</gadget>
<output>84_000</output>

<gadget id="calculator">672 / 84_000</gadget>
<output>1/125 = around 0.008</output>

<gadget id="calculator">(1/125) * 32_000</gadget>
<output>256</output>

<result>A</result>
a and b began business with rs. 3000 and rs. 4000 after 8 months, a withdraws rs. 1000 and b advances rs. 1000 more. at the end of the year, their profits amounted to rs. 672 find the share of a.
multiply(divide(672, add(add(multiply(3000, 8), multiply(subtract(3000, 1000), subtract(const_12, 8))), add(multiply(4000, 8), multiply(add(4000, 1000), subtract(const_12, 8))))), add(multiply(3000, 8), multiply(subtract(3000, 1000), subtract(const_12, 8))))
"explanation : ( 3 * 8 + 2 * 4 ) : ( 4 * 8 + 5 * 4 ) 8 : 13 8 / 21 * 672 = 256 answer : a"