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. 630 find the share of a. Choose the correct choice from the following answers.
A) 240
B) 288
C) 277
D) 877
E) 361
<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">630 / 84_000</gadget>
<output>3/400 = around 0.0075</output>

<gadget id="calculator">(3/400) * 32_000</gadget>
<output>240</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. 630 find the share of a.
multiply(divide(630, 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))))
"( 3 * 8 + 2 * 4 ) : ( 4 * 8 + 5 * 4 ) 8 : 13 8 / 21 * 630 = 240 answer : a"