A Tyrannosaurus rex ate half of a small triceratops it had hunted. When it left, a pack of velociraptors scavenged half of what was left. A group of lazy Allosaurus gulped down the last 270 kilograms of meat. How many kilograms of meat were on the triceratops before the T-Rex ate?
The velociraptors left half for the Allosaurus, so the T-Rex left 2 * 270 = 
<gadget id="calculator">2*270</gadget>
<output>540</output>
540 kilograms of meat.
The T-Rex ate half the meat, so there were 540 * 2 = 
<gadget id="calculator">540*2</gadget>
<output>1_080</output>
1080 kilograms of meat on the triceratops.

<result>1_080</result>