select takes as arguments: a boolean function f and a list L. select selects in the list L, the elements c such that f(c)==true. Input:
Output: