Read the sentence.

Stations along the way gave passengers a chance to rest and eat.

Which is the indirect object in the sentence?

A. a chance
B. passengers
C. Stations