The teacher gave Kristen Scott an A and more in return