Problem1867--【CSP2021-J-T4】小熊的果篮

1867: 【CSP2021-J-T4】小熊的果篮

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

Submit

Description

Input

Output

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

HINT



Source/Category

NOIP