#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int n,i;
while( cin>>n )
int k[n];
for( i=0;i<n;i+=1 )
cin>>k[i];
sort( k,k+i );
cout<<k[i]<<' ';
cout<<"\n";
}
#include <iostream> #include <algorithm> using namespace std; int main() { int n,i; while( cin>>n ) { int k[n]; for( i=0;i<n;i+=1 ) cin>>k[i]; sort( k,k+i ); for( i=0;i<n;i+=1 ) cout<<k[i]<<' '; cout<<"\n"; } }