Define three functions that remove the first, all, and last occurrence of a given element from a sequence. You are allowed to use only proc, no length, no indexing, no reversing.

Updated: