Can anyone help me to implement X-Lookup in dynamo using python script.

This is what i tried to achieve! Please help!

```
import sys
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
# The inputs to this node will be stored as a list in the IN variables.
m=IN[0]
n=IN[1]
x=[]
i=[]
c=[]
e=[]
for ind, i in enumerate(m):
if i in n:
c.append(i)
i.append(ind)
else:
e.append(i)
x.append(ind)
OUT= e, x, set(c), i
```