The program works. I get the correct output in Intellij IDEA. Every condition fails. Why is it not validating?