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

#635. Rotate left by 5

Rotate the list to the left by 5 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
8
54 96 92 84 36 51 23 54
Output
51 23 54 54 96 92 84 36
Input
4
56 74 52 93
Output
74 52 93 56

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