def input_values(new_list):
new_list = []
n = int(input('Enter number of values: '))
for i in range(n):
new_list.append(int(input('Enter values: ')))
def is_list_even(new_list):
for i in range(len(new_list)):
if new_list[i]%2!=0:
return False
return True
def is_list_odd(new_list):
for i in range(len(new_list)):
if new_list[i]%2==0:
return False
return True
num=input_values()
if is_list_even(num)==True:
print('all even')
elif is_list_odd(num)==True:
print('all odd')
else:
print('not even or odd')