Six values are read from the input, one per line, in this order: x1, x2, y1, y2, y3 and z. Each one is kept as a string, exactly as it was read.
Rearrange them using assignment only:
x1 and x2.y1, y2 and y3, so that y1 gets the old value of y2, y2 gets the old value of y3, and y3 gets the old value of y1.a holding the value of z, and then remove z with del.Do not print anything. The final values of x1, x2, y1, y2, y3 and a are checked for you.
The input is read for you. Assign the answers to x1, x2, y1, y2, y3, a.
You do not need to print anything — the values you assign to those names are what gets checked, in that order.
Input
10
20
30
40
50
60
Output
'20'
'10'
'40'
'50'
'30'
'60'