<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ListDiff(a, b):
 """ List diff op. """

    d = np.setdiff1d(a, b)
    return d, np.searchsorted(a, d).astype(np.int32)