import random

list1 = [1,3,4,5,5,6,6]#random.sample(range(0,30),15)
list2 = [1,2,4,5,5,6,6]#random.sample(range(0,30),15)

new_list = [x for x in list1 if x in list2]
new_list = 
print(list1)
print(list2)
print(new_list)
