Dad yelled at Sam because he did not go to school.

Who is he referring to in this sentence?
OPT:
 a). Dad
 b). Sam
b).