#include
int main()
{
int num[] = {5,7,9,12,15};
int i,j,temp;
for (i = 0 ; i< 4 ;++i)
for (j = i+1 ;j <5 ;++j)
if (num[j] > num[i])
{
temp = num[j];
num[j] = num[i];
num[i] = temp;
}
for (i = 0 ;i<5;++i)
printf ("%d ",num[i]);
printf ("\n");
return 0;
}