#include <iostream>
#include <cstring>
#include <algorithm>
#include <cstdio>
#include<math.h>
#include<cstdlib>
using namespace std;
#include<stdio.h>
#define N 3000+10
int BinachrySearh(int *a,int n,int key)
{int left=0,right=n-1,mid=0;
while(left<=right){
mid=(left+right)/2;
if(a[mid]==key) break;
else right=mid-1;
}
if(left>right) return -1;
else return mid;
}
int main()
{
int a[100],n,m,d;
while(~scanf("%d %d",&n,&m)){
for(int i=0;i<n;i++)
scanf("%d",&a[i]);
d=BinachrySearh(a,n,m);
if(d==-1) printf("NOT FOUND\n");
else printf("%d\n",d);
}
return 0;
}