Question: Removing an element from a list

I have a list of 1's and 2's. Something like [1,1,1,2,2,2]. I want to remove 1 or 2 from the list (only once), without needing to mention at which place. The remove command removes all of the occurrences, I need something similar which remove the given element only once.
>remove(has, L, 1)

I want the output to be [1,1,2]

Please Wait...