exclude solutions matching input