Not very intuitive ordering (Ordenação Nada Intuitiva)
Time limit: 1 s
Memory limit: 256 MB
Statement
Input format
Output format
Notes
Examples
Example 1
Input Data
Output Data
4
4 1 5 6
1 5 4 6
Example 2
Input Data
Output Data
5
10 2 12 6 30
2 6 10 12 30