Problem

8 /10


scatter

Problem

Given N integers to be sorted in non-decreasing order. In connection with the norms of the SES, among the numbers there will not be two, the difference between which exceeds 107.
 
Input
The first line of the input file contains the integer N. (1 <= N <= 100000), the second line – N integers not exceeding 2*109 in modulo. No two differ by more than 107.
 
Output
Print the given numbers in non-decreasing order.
 
Input Output
1
863961129 
863961129 
5
1866455200 1866455199 1866455198 1866455197 1866455196 
1866455196 1866455197 1866455198 1866455199 1866455200