#A406. 求和问题
求和问题
Problem Description
Given a sequence , your job is to calculate all the possible sub-sequences that the sum of the sub-sequence is .
Input
Input contains multiple test cases. each case contains two integers .input ends with .
Output
For each test case, print all the possible sub-sequence that its sum is . The format is show in the sample below. Print a blank line after each test case.
Samples
20 10
50 30
0 0
[1,4]
[10,10]
[4,8]
[6,9]
[9,11]
[30,30]