ABC Swap

AtCoder
IDabc161_a
Time2000ms
Memory256MB
Difficulty
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$ [samples]
Samples
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
API Response (JSON)
{
  "problem": {
    "name": "ABC Swap",
    "description": {
      "content": "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",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc161_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "We have three boxes $A$, $B$, and $C$, each of which contains an integer.  \nCurrently, the boxes $A$, $B$, and $C$ contain the integers $X$, $Y$, and $Z$, respectively.  \nWe will now do the operations...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments