contestada

A captain is twice as old as his ship was when he was as old as his ship is now.
Together they are 56 years old. How old is the captain?