accountancy: match credits/debits

Supply a list of comma-separated values.
Any spaces are ignored.
Specify negative values for money spent.
Specify positive values for items bought.
The output will be blank-line separated lists of possible credit/debit matches.
It is assumed that there is one negative value per one-or-more positive value(s).
Note: any values containing decimals are multiplied by 100 and rounded to integers for the purposes of calculation.
Note: for 20 values+, this could be quite slow.
Note: for 30 values+, this could be extremely slow and/or never finish.