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

#878. Function f(x) = 3x² - 5

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

Examples

Input
-35
Output
3670
Input
-77
Output
17782

💡 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!