The sum of multiple arrayList integers
<p>If I have 7  different <code>ArrayList</code>s of integers such as:</p>

<p>1.[2,3]</p>

<p>2.[2,4]</p>

<p>3.[2]</p>

<p>4.[3,4]</p>

<p>5.[2]</p>

<p>6.[2,3]</p>

<p>7.[2]</p>

<p>What I am looking for is: which combination will add up to 20?  In the above example, it would be:
<code>[3,4,2,4,2,3,2]</code>.</p>

<p>ArrayList 1: 3</p>

<p>ArrayList 2: 4</p>

<p>ArrayList 3: 2</p>

<p>ArrayList 4: 4</p>

<p>ArrayList 5: 2</p>

<p>ArrayList 6: 3</p>

<p>ArrayList 7: 2</p>

<p>This combination will add up to 20.
I used multiple <code>for</code> loops to do it. Is there another ways I can do this?</p>
