We are given a set S = {a1,a2.....,an} and we have to find two subsets with sum1 and sum2 respectively if possible which satisfies
sum >= k