Suppose that I am given a sum S, and I am also given some elements of fixed value a, b, c and d. I am trying to write an algorithm that attempts to find the