100 atcoder#ABC161A. [ABC161A] ABC Swap
[ABC161A] ABC Swap
Score : points
Problem Statement
We have three boxes , , and , each of which contains an integer. Currently, the boxes , , and contain the integers , , and , respectively. We will now do the operations below in order. Find the content of each box afterward.
- Swap the contents of the boxes and
- Swap the contents of the boxes and
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the integers contained in the boxes , , and , in this order, with space in between.
1 2 3
3 1 2
After the contents of the boxes and are swapped, , , and contain , , and , respectively. Then, after the contents of and are swapped, , , and contain , , and , respectively.
100 100 100
100 100 100
41 59 31
31 41 59