https://codeforces.com/problemset/problem/1455/B
Input Format
Check Link
Output Format
Check Link
Constraints
Check Link
Example
Input
5 1 2 3 4 5
Output
1 3 2 3 4
https://codeforces.com/problemset/problem/1455/B
Check Link
Check Link
Check Link
5 1 2 3 4 5
1 3 2 3 4