title: Prolog remove multiple elements from a list
body: <p>I know how to remove an element from a list but is there a way to remove more than one elements from a list? For example,</p>
  
  <pre><code>deletelist([a,b,c,a,b],[a,c],X)
  X = [b,b] % delete a and c from the list.
  </code></pre>