#include
using namespace std;
int main()
{
unsigned long long age[101] = {0};
unsigned long long n,sub;
while(scanf("%llu",&n) == 1)
{
if(n == 0) break;
while(n > 0)
{
scanf("%llu",&sub);
age[sub]++;
n--;
}
int space = 0;
for(int i = 1; i <= 100; i++)
{
for(unsigned long long j = 1; j <= age[i]; j++)
{
if(space == 0)
{
printf("%d",i);
space++;
}
else
{
printf(" %d",i);
}
}
}
printf("\n");
}
return 0;
}
Next
« Prev Post
« Prev Post
Previous
Next Post »
Next Post »