Read four integers $A$, $B$, $C$, $D$ and print them in reverse order: $D$ $C$ $B$ $A$.
Input
Four integers $A$, $B$, $C$, $D$.
Output
Print $D$, $C$, $B$, $A$ separated by spaces.
Example 1
Input
1 2 3 4
Output
4 3 2 1
Example 2
Input
10 20 -50 0
Output
0 -50 20 10
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.