System.in.withReader{ it.readLine() l=it.readLine().split(' ') s=[] for(n in l){s+=[Integer.parseInt(n)]} s.sort() for(n in s){print"$n "} }