My output seems correct to me but the 3rd and 4th requirements are not satisfied.