How do ships float?

(Buoyancy and Archimedes' principle)