#create 3 list
x=[]
e=[]
o=[]
#intialize variable even & odd to 0
even=odd=0
#take a input for no of elements
n=int(input("Γ«nter the no elements :"))
# iterate over the loop for n times and store the values in list x
for i in range(n):
print("enter the number",i)
x.append(int(input()))
#iterate over the list x
for n in x:
#check if the element is even, then append the elementto the list e
if(n%2==0):
even=even+1
e.append(n)
#else add the element to odd list
else:
odd=odd+1
o.append(n)
print("No of Even no in a series are {} and the no's are {}".format(even,e))
print("No of Even no in a series are {} and the no's are {}".format(odd,o))