I can't understand what is wrong, I have the same output but second condition is always unpassable