#include<stdio.h>
int main(void)
{
int i,flag,x;
int a[5];
printf("Enter 5 inteages:");
for(i=0;i<5;i++)
scanf("%d",&a[i]);
printf("Enter x:");
scanf("%d",&x);
flag=0;
for(i=0;i<5;i++)
if(a[i]==x){
printf("Index is %d
",i);
flag=1;
break;
}
if(flag==0)
printf("Not Found
");
return 0;
}