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

#627. Rotate left by 1

Rotate the list to the left by 1 places in a circle (the first element goes to the end). ### Input The first line has n, the second line has n integers separated by spaces. ### Output One line.

Examples

Input
7
92 97 53 80 0 51 37
Output
97 53 80 0 51 37 92
Input
5
87 42 81 63 8
Output
42 81 63 8 87

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