单项选择题

The brave firemen had fought for days before they managed to ______ the forest fire.

A.put on
B.put up with
C.put off
D.put out