print([x for x in [1, 3, 6, 78, 35, 55] for y in [12, 24, 35, 24, 88, 120, 
    155] if x == y])
s1 = set([1, 3, 6, 78, 35, 55])
s2 = set([12, 24, 35, 24, 88, 120, 155])
s1 &= s2
print(list(s1))

6dd0f426daab4a2896f4f4ff8d463f575ada7262
<mask token>

print([x for x in [1, 3, 6, 78, 35, 55] for y in [12, 24, 35, 24, 88, 120, 
    155] if x == y])
<mask token>
s1 &= s2
print(list(s1))

print([x for x in [1, 3, 6, 78, 35, 55] for y in [12, 24, 35, 24, 88, 120, 
    155] if x == y])
s1 = set([1, 3, 6, 78, 35, 55])
s2 = set([12, 24, 35, 24, 88, 120, 155])
s1 &= s2
print(list(s1))
