Input (grade 13): There he learns about his parents and his connection to the Dark Lord, is sorted into Gryffindor House, becomes friends with classmates Ron Weasley and Hermione Granger, and foils Voldemort's attempt to steal the Philosopher's Stone.
Output (grade 6): There he learns about his parents and his connection to the Dark Lord. He is sorted into Gryffindor House by the Sorting Hat and becomes friends with classmates Ron Weasley and Hermione Granger.