Input (grade 10): On the lower branches of the food plant, the larva makes a cocoon within a leaf, firmly attaching the petiole to the branch.
Output (grade 5): The caterpillar makes a cocoon within a leaf.