Solution to find set of numbers from given superset for particular sum

Can any one tell me how to solve a problem if I am given with a particular set of n number a1,a2,a3…an. and provided with an integer sum and a number K less than n and I have to find set of k numbers whose sum is equal to integer sum.