Help me in solving LB01E problem

My issue

Rearrange the following code
elif A%2 != 0 and C%2 != 0:
else:
if A%2 == 0 and C%2 == 0:
print(‘Both A and C are odd’)
print(‘Both A and C are even’)
print(‘A is odd and C is even or vice versa’)

Learning course: Problem solving in Python
Problem Link: Problem (Make Avg) - Solve sub-components in Problem solving in Python

the order is always
if:
elif:
else:
now except print(“A is odd and C is even or vice versa”) which goes under else, other prints can be put anywhere