#include<bits/stdc++.h>
#include<iostream>
using namespace std;
int main() {
int a[5]={5,9,2,1,6};
sort(a,a+5);
int i=0;
for(;i<5;i++)
{
cout<<a[i]<<" ";
}
return 0;
}
I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KI2luY2x1ZGU8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCWludCBhWzVdPXs1LDksMiwxLDZ9OwoJc29ydChhLGErNSk7CglpbnQgaT0wOwoJZm9yKDtpPDU7aSsrKQoJewoJCWNvdXQ8PGFbaV08PCIgIjsKCX0KCXJldHVybiAwOwp9