Input (grade 7): The pupa hibernates in a cocoon.
Output (grade 4): The chrysalis hibernates in a cocoon.