time limit per test
1 second
memory limit per test
512 megabytes
input
standard input
output
standard output
Example
B.
5
4
4 4 4 4
4
13 7 25 19
6
3 5 3 1 7 1
1
1
5
0 0 0 0 0
Output
1 2 4
1 2
1
1
1 2 3 4 5