lst=[1,7,8,9,12,45,36,23,32,74]
lst1=[5,8,7,9,6,32,23,45,65,85]
# # find common elements
common=[]
for i in lst:
    for j in lst1:
        if i==j:
            common.append(i)
print(common)
# pos=0
# pos1=0