AtCoder Beginner Contest 161
A
ABC Swap
AtCoder
⌀ 0
原题
←B →
翻译中…

Problem Statement

翻译中…

We have three boxes $A$, $B$, and $C$, each of which contains an integer. Currently, the boxes $A$, $B$, and $C$ contain the integers $X$, $Y$, and $Z$, respectively. We will now do the operations below in order. Find the content of each box afterward.

翻译中…
  • Swap the contents of the boxes $A$ and $B$
  • Swap the contents of the boxes $A$ and $C$
翻译中…

Constraints

翻译中…
  • $1 \leq X,Y,Z \leq 100$
  • All values in input are integers.
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

X Y Z

翻译中…

Output

翻译中…

Print the integers contained in the boxes $A$, $B$, and $C$, in this order, with space in between.

翻译中…

样例

Input #1
1 2 3
Output #1
3 1 2
After the contents of the boxes $A$ and $B$ are swapped, $A$, $B$, and $C$ contain $2$, $1$, and $3$, respectively. Then, after the contents of $A$ and $C$ are swapped, $A$, $B$, and $C$ contain $3$, $1$, and $2$, respectively.
Input #2
100 100 100
Output #2
100 100 100
Input #3
41 59 31
Output #3
31 41 59
题目信息
题号
abc161_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。