#include using namespace std; int n,k,v[32000]; int main() { cin>>n; for(int i=1;i<=n;i++) cin>>v[i]; for(int i=1;i