Which sentence has a verb in the active voice?

The cruise was fully booked with passengers.

The messages were gathered into neat piles.

The passengers were greeted by the captain.

The captain thanked the crew members.

The captain thanked the crew members.