1

h2022027 2023-10-04 19:40:49

#include <bits/stdc++.h> using namespace std; int a[110]; int main(){
int n,x; cin>>n; for(int i=0;i<n;i++){ cin>>a[i]; } cin>>x; if(x==n-1){ cout<<"no"<<endl; } if(x!=0){ cout<<a[x+1]<<endl; } return 0; }