Input items should be compared to a allowed items. Display the input items not in the allowed list.
For each input item a search is required to see if it is in the allowed list.
How are the allowed items to be stored?
How will the allowed items be searched for each input item?