i[999];main(c){gets(&c);for(;~scanf("%d",&c);)++i[c+99];for(c=998;i[c]--?printf("%d ",c-99):--c;);}