int f(int x) { return x * x + 2 * x + 5; } int main() { int x; cin >> x; cout << f(x) << endl; return 0; }