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

#632. Rotate right by 3

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

Examples

Input
4
67 54 46 57
Output
54 46 57 67
Input
5
60 53 70 24 24
Output
70 24 24 60 53

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