code: private static int[] filter(int[] org, int skip1, int skip2) {
          int n = 0;
          int[] dest = new int[org.length - 2];
          for (int w : org) {
              if (w != skip1 && w != skip2) dest[n++] = w;
          }
          return dest;
      }
docs: Filter an array, excluding two provided values. These values must be
  present in the input.
  
  @param org   input array
  @param skip1 skip this item
  @param skip2 skip this item also
  @return array without skip1 and skip2