Nested if statements and elif statements