There are several chickens, ducks, and geese in total. It is known that the number of chickens is 40 more than the number of ducks, the number of geese is 3/4 of the number of chickens, and the number of ducks is 3/4 (1/4) of the total number, what is the number of chickens?
鸡、鸭、鹅共若干只，已知鸡的只数比鸭的只数多40只，鹅的只数是鸡的只数的(3/4)，鸭的只数是鸡、鸭、鹅总数的(1/4)，则鸡的只数为多少．
<gadget id="calculator">1 / 4</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">40 * (1/4)</gadget>
<output>10</output>

<gadget id="calculator">40 - 10</gadget>
<output>30</output>

<gadget id="calculator">3 / 4</gadget>
<output>3/4 = around 0.75</output>

<gadget id="calculator">(3/4) * (1/4)</gadget>
<output>3/16 = around 0.1875</output>

<gadget id="calculator">1 - (1/4) - (1/4) - (3/16)</gadget>
<output>5/16 = around 0.3125</output>

<gadget id="calculator">30 / (5/16)</gadget>
<output>96</output>

<result>96</result>