There are 126 ducks in my grandfather's family, and 12 chickens are 4 times more than ducks. How many ducks and chickens are there in total?
爷爷家养了126只鸭，养鸡的比鸭的4倍多12只，爷爷家养鸭和鸡一共多少只？
<gadget id="calculator">126 * 4</gadget>
<output>504</output>

<gadget id="calculator">504 + 12</gadget>
<output>516</output>

<gadget id="calculator">516 + 126</gadget>
<output>642</output>

<result>642</result>