Input (grade 13): If the animal is allowed to survive after spinning its cocoon and through the pupa phase of its life cycle, it will release proteolytic enzymes to make a hole in the cocoon so that it can emerge as a moth.
Output (grade 11): If the animal is allowed to survive after spinning its cocoon, it will make a hole in the cocoon when it exits as a moth.