Hadron yields and hadron spectra from the NA49 experiment