Input (grade 9): Both hastati and principes were each armed with a gladius - a short, 60 centimeter (2 foot) sword - and each had two hasta (thrusting spear).
Output (grade 8): Both hastati and principes were each armed with a gladius - a short, 60 centimeter sword - and each had two pila (javelins).