# if statement 
# elif and nested if

n = 5
even = n % 2 == 0

if  n == 1:
    print('n = ', 1)
    if even:
        print('n is even')
    else:
        print('n is odd')
elif n == 2:
    print('n = ', 2)
    if even:
        print('n is even')
    else:
        print('n is odd')
elif n == 3:
    print('n = ', 3)
    if even:
        print('n is even')
    else:
        print('n is odd')
elif n == 4:
    print('n = ', 4)
    if even:
        print('n is even')
    else:
        print('n is odd')
elif n == 5:
    print('n = ', 5)
    if even:
        print('n is even')
    else:
        print('n is odd')
else:
    print('n is not within the range')


print()
