Problem2830--[csp-j2021]P4 小熊的果篮

2830: [csp-j2021]P4 小熊的果篮

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description



Sample Input Copy

12
1 1 0 0 1 1 1 0 1 1 0 0

Sample Output Copy

1 3 5 8 9 11
2 4 6 12
7
10

Source/Category

csp-j