import java.util.*;
public class Main {
public static void main(String[] args){
Scanner in =new Scanner(System.in);
int n;
n=in.nextInt();
int s[]=new int[n];
for(int i=0;i<n;i++){
s[i]=in.nextInt();
}
Arrays.sort(s);
for(int i=0; i<n; i++)
System.out.println(s[i]);
}
}
时间: 2024-10-20 06:52:09