A ship has 8723 tons of cargo. At the Bahamas, sailors unloaded 5973 tons of cargo. How many tons of cargo is left on the ship?