#include using namespace std; int main() { int n; cin >> n; int arr[n]; for (int i=0; i> arr[i]; } int tmp, nn=n; if ((2*n-3)arr[j]) { tmp=arr[i]; arr[i]=arr[j]; arr[j]=tmp; } } } for (int i=0; i