Mark has kangaroos and goats.  Kangaroos have two legs and goats have four legs.  If he has 23 kangaroos and three times as many goats as kangaroos what is the total number of legs of all his animals?
His kangaroos have a total of 23*2=
<gadget id="calculator">23*2</gadget>
<output>46</output>
46 legs.
He has 23*3=
<gadget id="calculator">23*3</gadget>
<output>69</output>
69 goats.
The goats have 69*4=
<gadget id="calculator">69*4</gadget>
<output>276</output>
276 legs.
So in total his animals have 276+46=
<gadget id="calculator">276+46</gadget>
<output>322</output>
322 legs.

<result>322</result>