#include
#include
using namespace std;
int main()
{
cout << "Enter the size of the array: ";
int n, arr[] = { 0 };
cin >> n;
cout << "Enter the elements of the array: ";
for (int i = 0; i < n; i++) {
cin >> arr[i];
}
sort(arr, arr + n);
for (int i = 0; i < n; i++) {
cout << arr[i];
}
return 0;
}