#include<iostream>
using namespace std;
int Serial(int *l,const int n,int x)
{
int i;
for(i=0;i<n;i++)
{
if(l[i] == x)
return i;
}
if(i ==n)
return -1;
}
int main()
{
int l[6] = {5,4,3,8,1,6};
int result,e;
cin>>e;
result = Serial(l,6,e);
if(result==-1)
cout<<"未找到"<<endl;
else
cout<<e<<"是a["<<result<<"]"<<endl;
return 0;
}
using namespace std;
int Serial(int *l,const int n,int x)
{
int i;
for(i=0;i<n;i++)
{
if(l[i] == x)
return i;
}
if(i ==n)
return -1;
}
int main()
{
int l[6] = {5,4,3,8,1,6};
int result,e;
cin>>e;
result = Serial(l,6,e);
if(result==-1)
cout<<"未找到"<<endl;
else
cout<<e<<"是a["<<result<<"]"<<endl;
return 0;
}