#include
void main()
{
int a[10];
for (int i = 0;i < 10;i++)
scanf("%d",&a[i]);
for (int j = 0;j < 10;j++)
for (int k = j;k < 10;k++)
if (a[j] < a[k])
{
int t = a[j];
a[j] = a[k];
a[k] = t;
}
for (int z = 0;z < 10;z++)
printf("%d ",a[z]);
}