Please provide a hint

please provide a hint

generate all subsequence and then check whether the sum of current subsequence is half of total sum or not
if yes then print the current subsequence and other subsequence