单项选择题

At sea, much of the sailor’s time is spent ()the ship and keeping her equipment in good condition.

A.to maintain
B.maintaining
C.maintenance
D.maintain