CodeLab Academy 📞 9936 6696
← List Python · Level 9: Functions and dicts Code · 90 points ← #890 #892 →

#891. Function f(x) = x² - x - 1

Write a function `def f(x):` that returns f(x) = x² - x - 1. Print f(x) for the x given in the input. ### Input One integer x (-100 ≤ x ≤ 100). ### Output A number.

Examples

Input
-4
Output
19
Input
-6
Output
41

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!