LearnPy Hub
← Variables problems
Hard

Rotate Four Values

Read four values a, b, c, d (one line). Rotate them one step to the left using one tuple assignment, so that a gets b, b gets c, c gets d and d gets a. Print them.

Input

Four words on one line.

Output

One line.

Sample 1

Input
1 2 3 4
Output
2 3 4 1

Sample 2

Input
w x y z
Output
x y z w
solution.py
Output appears here
Rotate Four Values · Python practice problem · LearnPy Hub