#program to calculate the total number of odd and even number in the list
a=[]
size=int(input("enter the array of elements"))
for i in range(size):
    val=int(input("enter the number"))
    a.append(val)
even=0
odd=0
for i in range(size):
    if(a[i]%2==0):
        even=even+1
    else:
        odd=odd+1
print("total even",even,"total odd",odd)
