#include #include using namespace std; int main() { int a,b,i=1; cin >> a; if(a < 1) { cout << "Incorrect position." << endl; return 0; } while(cin >> b) { if(i++ == a) { cout << "At the position " << a << " there is a(n) " << b << "." << endl; return 0; } } cout << "Incorrect position." << endl; return 0; }