Soccer is a favorite game among children, but to play a match, they need to form two teams. To make the game exciting, the teams should be as evenly matched as possible.
In one neighborhood, the kids decided to form teams in the following manner: The two strongest players become team captains and are assigned the numbers 1 and 2. Captain 1 picks the first player for their team. Then, from the remaining players, captain 2 selects the first player for their team. For the next round of selections, captain 2 picks first. If there are still players left, the first choice goes back to captain 1, and so on. Essentially, after captain 1 selects the first player, the captains alternate picking two players each until all players are chosen. There are no restrictions on team sizes, so everyone gets to play. If there is an odd number of players, one team will have one extra player.
Given the captains' ratings of the players, determine which player will join which team. Each captain's ratings are unique numbers from to , where is the total number of players (excluding the captains). The rating indicates the player's position according to the captain among all the players (excluding the captains). We will number all players (except the captains) from to , and the list of ratings is given in the order of player numbers: first the rating for player , then for player , and so on.
For instance, if the first captain's ratings are , , , , , , and the second captain's ratings are , , , , , , then initially, the first team will get player number . The second captain will then take player number for their team, followed by player number . Next, the first captain will select two players (numbers and ), and the remaining player (number ) will join the second team. This distribution can be represented as: 112122. Players numbered , , and are in the first team, while players numbered , , and are in the second team.
The first line contains an integer — the total number of players, not counting the captains (2 \leq N \leq 100). The second line contains positive integers separated by spaces — the ratings of the first captain, and the third line contains the ratings of the second captain (also positive integers).
Output a single line with the answer to the problem.
Example 1