Hello

I'm trying to do the following:

I have, lets say, the elements 2 4 3 6 3 2 1 3 (sum=24), so I need to
form 3 groups of elements suming 8 each (6+2, 3+3+2, 4+3+1), properly,
I need all the posibilities.

Any ideas will be welcome

Thanks