Input (grade 13): Izanagi followed her there and upon his return he washed himself, creating Amaterasu, Susanoo, and Tsukuyomi-no-Mikoto in the process (See Japanese mythology).
Output (grade 9): Izanagi followed her there and when he returned, he washed himself, creating Amaterasu, Susanoo, and Tsukuyomi. (See Japanese mythology.)