Production of strange and multistrange hadrons in nucleus-nucleus collisions at the SPS