#include using namespace std; int main() { int a[11]; int mark; int end; int i; cin >> mark; cin >> end; for (i=0; i < end ; ++i) cin >> a[i]; i=0; a[end]=mark; while (mark != a[i]) ++i; if (i == end ) cout << " Item not in list " << endl; else cout << " Item at position " << i << endl; return(0); }