Phrase: John was doing research in the library when he heard a man humming and whistling. He was very annoying.

Question: What does "He" in "He was very annoying." refer to in the phrase?
Option A: John; Option B: The man
Answer: b