'''
def count(lis):
    even=0
    odd=0
    for i in lis:
        if i%2==0:
            even+=1
        else:
            odd+=1
    return even,odd
lis=[20,10,22,55,30,2,1,3]
even,odd=count(lis)

#print(even)
#print(odd)

print("even:{} and odd:{}".format(even /n,odd))
'''

lis=[]
str='n'
for i in range(10):
    n=input("Enter the names:")
    lis1=lis.append(n)
print(lis)
for e in lis:
    #print(len(e))
    if len(e)>5:
        print("greater than 5 charctor:",e)
        pass































