#include<iostream>
using namespace std;
int main ()
{
int n;
int array[n+1];
for (int i=1;i<=n;i++)
{
cin >>array[i];
}
int ele,p=1,loc=0;
cin >> ele;
while (loc==0 && p<=array[p])
{
if(ele==array[p])
{
loc=p;
}
p++;
}
if (loc==0)
cout<< ele<<"not in the array"<<endl;
else
cout<< loc<<"is the location of"<<ele<<endl;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbiAoKQp7CiAgICBpbnQgbjsKICAgIGludCBhcnJheVtuKzFdOwogICAgZm9yIChpbnQgaT0xO2k8PW47aSsrKQogICAgewogICBjaW4gPj5hcnJheVtpXTsKICAgIH0KCiAgICBpbnQgZWxlLHA9MSxsb2M9MDsKICAgIGNpbiA+PiBlbGU7CiAgICB3aGlsZSAobG9jPT0wICYmIHA8PWFycmF5W3BdKQogICAgewogICAgICAgIGlmKGVsZT09YXJyYXlbcF0pCiAgICAgICAgewogICAgICAgICAgICBsb2M9cDsKICAgICAgICB9CiAgICAgICAgcCsrOwogICAgfQogICAgaWYgKGxvYz09MCkKCiAgICAgICAgY291dDw8IGVsZTw8Im5vdCBpbiB0aGUgYXJyYXkiPDxlbmRsOwplbHNlCiAgICAgICAgICAgIGNvdXQ8PCBsb2M8PCJpcyB0aGUgbG9jYXRpb24gb2YiPDxlbGU8PGVuZGw7CgoKICAgICAgICAgICAgcmV0dXJuIDA7Cn0K