def intersecao(conjuntoA, conjuntoB):
inter = [x for x in range(1,12) if x in conjuntoA and x in conjuntoB]
return inter
a = [2,4,6,7,10]
b = [3,4,6,8,10,11]
print(intersecao(a,b))
ZGVmIGludGVyc2VjYW8oY29uanVudG9BLCBjb25qdW50b0IpOgogICAgaW50ZXIgPSBbeCBmb3IgeCBpbiByYW5nZSgxLDEyKSBpZiB4IGluIGNvbmp1bnRvQSBhbmQgeCBpbiBjb25qdW50b0JdCiAgICByZXR1cm4gaW50ZXIKCmEgPSBbMiw0LDYsNywxMF0KYiA9IFszLDQsNiw4LDEwLDExXQoKcHJpbnQoaW50ZXJzZWNhbyhhLGIpKQ==