# list=[1,2,2,3,4,55,66,9,76,78]
# list2=[]
# for i in range(len(list)):
#     if list[i]<10:
#         list2.append(list[i])
# print list2



a=[1,2,2,3,4,55,65,76,78]
l=[]
for i in range(len(a)):
    if a[i]<10:
        l.append(a[i])
print l
x=input("enter any no")
nl=[]
for i in range(len(l)):
    if l[i]<x:
        nl.append(l[i])
print nl





















