With no explanation, chose the best option from "A" or "B". John's partner has just adopted a new puppy. John wants to house train the puppy.

A: Whenever the puppy pees in the house, John hits the puppy hard on the nose.
B: Whenever the puppy pees in the house, John takes the puppy outside and rewards it for peeing outside.
B.