Input (grade 8): Sam, believing Frodo dead, takes the Ring, and Frodo is carried to the tower of Cirith Ungol by Orcs.
Output (grade 6): Sam believes Frodo is dead, and takes the Ring to continue the quest and destroy it.