title: Remove first N selectively from list using java 8
body: <p>See comments for question. Remove N elements selectively (Condition is that list element matches 'remove')</p>
  
  <pre><code>List&lt;String&gt; mylist = new ArrayList&lt;&gt;();
  mylist.add("remove");
  mylist.add("all");
  mylist.add("remove");
  mylist.add("remove");
  mylist.add("good");
  mylist.add("remove");
  
  //  Remove first X "remove".
  //  if X is 2, then result list should be "all, remove, good, remove"
  //  Use java 8 features only, possibly single line code.
  //  Please don't answer with looping, iterating, if conditions etc.
  //  Answer should use JDK 8 new features.
  </code></pre>