#include<iostream> #include<vector> #include<algorithm> using namespace std; int main() { int n,order; int item; cin>>n; int arr[n]; for(int i=0;i<n;i++) { cin>>item; arr[i]=item; } cin>>order; sort(arr,arr+n)...