#12Easy
Rotate three variables
Time: 1 s · Memory: 256 MB
- Variables and types
Statement
You are given three variables , and . Rotate the values by one step: the value of moves to , the value of moves to , and the value of moves to . Then print the new , and in this order.
Input format
A single line with three integers , , ().
Output format
A single line with the new , , .
Examples
Input
2 4 6
Output
6 2 4
Input
1 2 3
Output
3 1 2
Note
In the first example , , . After the rotation gets the value of (), gets the value of (), and gets the value of (). One helper variable is enough.
