Write a program that reads a list of integers from input into a vector and modifies the vector by shifting each element to the right one position and by shifting the last element to the first position. The input begins with an integer indicating the number of values that follow. Output the modified vector and end with a newline. Ex. If the input is \begin{tabular}{l|l|l} 4 & 6 & 8 \\ 12 \end{tabular} the output is:
12296−10
For coding simplicity, follow every output value by a space, including the last one. Run your program as often as you'd like, before submiting for grading Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box 5.9.1: LAB. Shift right 2 main.cpp Load default template for () ( A... Shift oll elements to the right 1... Output updated list for Q 1 l.... ceturn 0 Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box.