Input (grade 10): Severus Snape first appears in Harry Potter and the Philosopher's Stone, shortly after Harry Potter arrives at Hogwarts.
Output (grade 8): Snape was so mean to Harry because of Harry's father, James Potter, that had bullied Snape while they were at Hogwarts.