#PCBNAM0000007. Đảo thứ tự ba số (Reverse Three Integers)
Đảo thứ tự ba số (Reverse Three Integers)
Reverse Three Integers
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Three integers , , and are given on one line in that order. Print them in reverse order: , then , then . Do not modify their numeric values.
Input
One line containing exactly three integers , , and , separated by whitespace.
Output
Print , , and on one line, separated by exactly one space.
Subtasks
- Subtask 1 — 100 points: .
Examples
Input
1 2 3
Output
3 2 1
Explanation
The three input tokens are converted to integers, then assigned as a = 1, b = 2, c = 3. The required output order is reversed, so print(c, b, a) produces 3 2 1. No variable swapping is needed.