Remove the spaces from the following sentence: Depending on the altitude, the air has a different density and a different chemical composition.
Dependingonthealtitude,theairhasadifferentdensityandadifferentchemicalcomposition.