CodeLab Academy 📞 9936 6696
← List Python · Level 1: Input and output Code · 10 points ← #6 #8 →

#7. Neighbor numbers (d=1)

You get an integer n. Print n-1 and n+1, each on its own line. ### Input One integer n. ### Output Two lines: first n-1, then n+1.

Examples

Input
-21
Output
-22
-20
Input
446
Output
445
447

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