#include <iostream>
 
using namespace std;
 
void Merge(int *a, int low, int high, int mid)
{
	//Type your code here
}
 
void MergeSort(int *a, int low, int high)
{
	//Type your code here
}
 
int main()
{
	int n, i;
	cin>>n;
 
	int arr[n];
	for(i = 0; i < n; i++)
	{
		cin>>arr[i];
	}
 
	MergeSort(arr, 0, n-1);
	for (i = (n-1); i >=0; i--)
        cout<<arr[i]<<" ";
 
	return 0;
}
complete the code