Marek loves dancing, and he has danced a lot in the last couple of years. He has actually danced so much that he became too good at all the traditional dances like swing, salsa, ballroom, and hip-hop, and now all partners he dances with cannot keep up with him. Therefore, he started to invent his own dances and even tries to convince other people to dance these new dances with him.
Marek got really excited when he heard about the upcoming wedding of his best friend Miroslav. For a whole month, he worked on a special dance for the wedding. The dance was performed by people, and there were marks on the floor. There was an arrow from each mark to another mark, and every mark had exactly one incoming arrow. The arrow could also be pointing back to the same mark.
At the wedding, every person first picked a mark on the floor, and no persons picked the same one. Then Marek played some music, and every seconds, there was a loud signal when all dancers had to move along the arrow on the floor to another mark. The placement of the marks was such that everybody could follow the arrow to the next mark in seconds without any trouble. If an arrow was pointing back to the same mark, the person at the mark just stayed there and maybe did some improvised dance moves on the spot.
A year has passed since Miroslav's wedding, and another wedding is coming up. Marek would like to do a similar dance at this wedding as well. He lost all the drawings he had, but luckily he found two photos from exactly when the dance started and when it ended. Marek also remembers that the signal was triggered times during the time the song was played, so people moved times along the arrows.
Given the two photos, can you help Marek reconstruct the arrows on the floor? On the two photos, it can be seen for every person to which position he or she moved. Marek therefore numbered the people in the first photo from to and then wrote the number of the person whose place they took in the second photo.
Marek's time is running out, so he is interested in any placement of arrows that could produce the two photos.
The first line of the input contains two integers and , 2 \leq N \leq 10000, 1 \leq K \leq 10^9. The second line of the input contains space-separated integers a_1, \ldots, a_N, denoting that dancer number ended at the place of dancer number a_i. You may assume that 1 \leq a_i \leq N for all and that every number between and inclusive appears exactly once in the sequence.
If it is impossible to find a placement of arrows such that the dance performed times would produce the two photos, print Impossible. Otherwise, print numbers on a line, the -th number denoting to which person the arrow leads from person number .
Example 1