Solve This Giveaway Problem First

This problem is straightforward and easy. You will be given two integers N, P and a list L of positive integers.


This is a companion discussion topic for the original entry at https://toph.co/p/solve-this-giveaway-problem-first