#include
using namespace std;
int main() {
int N;
cin>>N;
if(N>0){
int a[N];
for(int i=0;i<N;i++){
cin>>a[N];
}
int M;
cin>>M;
for(int i=0;i<N;i++){
if(a[i]==M){
cout<<i<<endl;
break;
}
}
}
return 0;
}
plz tell whats wrong in code