Write a program in which the user enters a list of numbers in one line through a space (numbers from 0 to 10). The program must rearrange the last three elements of the list and move the remaining elements to the right.
Python program