Choose your answer: Who is it in the following sentence?

The ball hit the window and Bill repaired it.

Possible answers: A. The ball B. the window
B.