#include using namespace std; int main(){ int n; cin>>n; int A[n]; for(int i=0;i>A[i]; sort(A,A+n); for(int i=0;i