CodeLab Academy 📞 9936 6696
← List Python · Level 7: Lists Code · 70 points ← #687 #689 →

#688. Turn each element into x·-1+0

Replace every element x with x·-1+0 and print the list. ### Input The first line has n, the second line has n integers separated by spaces. ### Output One line.

Examples

Input
5
8 0 2 11 -1
Output
-8 0 -2 -11 1
Input
10
-4 4 3 -19 -11 -9 18 0 -6 -16
Output
4 -4 -3 19 11 9 -18 0 6 16

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