Input (grade 7): When Izanami died in childbirth, Izanagi tried (but failed) to retrieve her from Yomi (the underworld).
Output (grade 9): When Izanami died while giving birth to a child, Izanagi tried (but failed) to retrieve her from Yomi (the underworld).