It is hereby understood and agreed that where recovery is obtained from a carrier or other third party such recovery shall be apportioned between the assured and the underwriters in the same proportion as the respective parties hereto have borne the loss