#include <iostream> using namespace std; int main() { int n; cin >> n; int* p = new int[n]; for(int i =0;i<...