An object hangs from a spring balance. The balance shows 40 N when the object is in air, 30 N when the object is immersed in water, and 34 N when the object is immersed in another liquid. If the density of water is 1000 kg m\(^{-3}\), then the density of the liquid is