The second if statement in main does not print out. If I put just one of the if statements they do execute, but for some reason putting them after each other causes the seco