#include <iostream>
#include <cstring>
using namespace std;
int main()
{
int n,k,i,j;
int tmp,a[10]={10,9,8,7,6,5,4,3,2,1},b[100];
n=sizeof(a)/sizeof(a[0]);
memset(b,0,sizeof(b));
for(i=0;i<n;i++)
{
b[a[i]]++;
}
for(i=0;i<100;i++)
while(b[i]>0)
{
cout<<i<<" ";
b[i]--;
}
return 0;
}