#include<iostream> #include<algorithm> using namespace std; int n,a[220]; int main() { while(scanf("%d",&n)!=EOF){ for(int i=0;i<n;i++){ scanf("%d",&a[i]); } int x,ans=-1; scanf("%d",&x); ...