Problem: Polycarp is a head of a circus troupe. There are — an even number — artists in the troupe. It is known whether the -th artist can perform as a clown (if yes, then , otherwise ), and whether they can perform as an acrobat (if yes, then , otherwise ).
Split the artists into two performances in such a way that:
- each artist plays in exactly one performance,
- the number of artists in the two performances is equal (i.e. equal to ),
- the number of artists that can perform as clowns in the first performance is the same as the number of artists that can perform as acrobats in the second performance.
Input Format: The first line contains a single integer (, is even) — the number of artists in the troupe.
The second line contains digits , the -th of which is equal to if the -th artist can perform as a clown, and otherwise.
The third line contains digits , the -th of which is equal to , if the -th artist can perform as an acrobat, and otherwise.
Output Format: Print distinct integers — the indices of the artists that should play in the first performance.
If there are multiple answers, print any.
If there is no solution, print a single integer .
Note: In the first example, one of the possible divisions into two performances is as follows: in the first performance artists and should take part. Then the number of artists in the first performance who can perform as clowns is equal to . And the number of artists in the second performance who can perform as acrobats is as well.
In the second example, the division is not possible.
In the third example, one of the possible divisions is as follows: in the first performance artists and should take part. Then in the first performance there are artists who can perform as clowns. And the number of artists in the second performance who can perform as acrobats is as well.