Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

EI20213Q1 - Sort Numbers

Given a list of integers, output the list in ascending order. If two numbers are equals, keep the order of them in the input.

Input

-      The first line contains one integer N - the number of integers (1 £ N £ 105).

-      The next line contains N integers which do not exceed 109.

Output

Include N lines, each line is an integer and the its index in the input.

Sample

https://drive.google.com/file/d/1EzeQ9kCyHqClAZZUheiz-0V-6B4gSi11/view?usp=sharing

Input

Output

5

4 1 0 2 1

 

0 2

1 1

1 4

2 3

4 0


Added by:Ha Minh Ngoc
Date:2021-07-07
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:CSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG FSHARP GO JAVA JS-MONKEY NODEJS PHP PYTHON PYPY PYPY3 PYTHON3 RUBY SQLITE SWIFT VB.NET
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.