var = input('Enter the input')
oddList = []
evenList = []
for i in var:
if int(i) % 2 == 0:
if int(i) not in evenList:
evenList.append(int(i))
elif int(i) % 2 != 0:
if int(i) not in oddList:
oddList.append(int(i))
if evenList == []:
print('There are no even numbers in the input')
else:
if len(evenList) == 1:
print('The even numbers in the input is %s'%evenList[0])
else:
print('The even numbers in the list are %s'%evenList)
if oddList == []:
print('There are no odd numbers in the input')
else:
if len(oddList) == 1:
print('The odd numbers in the input is %s'%oddList[0])
else:
print('The odd numbers in the list are %s'%oddList)