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.

-----Sample Input-----
1 2 3

-----Sample Output-----
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.

Difficulty: introductory

Starter code:

Solutions:
x,y,z=map(int,input().split())
print(z,end=' ')
print(x,end=' ')
print(y,end='')

x,y,z= map(int,input().split())
print(z,x,y,end='')

x,y,z=map(int, input().split())
print(z,x,y)

X,Y,Z = map(int,input().split())
print(Z,X,Y)

x,y,z=map(int, input().split())
x,y=y,x
x,z=z,x
print(x,y,z)

x, y, z = map(int, input().split())
print(z, x, y)

x,y,z = input().split()

print(z+" "+x+" "+y)

X,Y,Z=map(int,input().split())
A,B,C=X,Y,Z
 
A = Y
B = X
A = Z
C = Y
 
print(str(A)+' '+str(B)+' '+str(C))

n=input().split();print(n[2],*n[:2])

X,Y,Z = map(int,input().split())

print(Z,X,Y)

N = list(map(int,input().split()))
print(str(N[2])+" "+str(N[0]) + " " + str(N[1]))

X, Y, Z = map(int, input().split())

print(Z, X, Y)

x,y,z = map(int,input().split())
print(z,x,y)

x,y,z = map(int,input().split())
print(z,x,y)

X, Y, Z = list(map(int, input().split()))

print(Z, X, Y)

X, Y, Z = map(int,input().split())

print(Z, X, Y)

x,y,z=map(int,input().split())
print(z,x,y)

x,y,z= map(int, input().split())

print(z,x,y)

a,b,c=list(map(int,input().split()))
print(c,a,b)

x,y,z = list(map(int ,input().split()))
tmp = y
y = x
x = tmp

tmp2 = z
z = x
x = tmp2
print(("{} {} {}".format(x,y,z)))


X,Y,Z = map(int, input().split())
print(Z,X,Y)

x, y, z = map(int,input().split())

def swap(a, b, c):
    i = 0
    i = a
    a = b
    b = i

    i = a
    a = c
    c = i
    print(a,b,c)

swap(x,y,z)

x, y, z = map(int,input().split())
print(z,x,y)

X,Y,Z=map(int,input().split());print(Z,X,Y)

a,b,c = map(int,input().split())
print(c,a,b)

l = list(map(int,input().split()))
print(l[2],l[0],l[1])

a,b,c=input().split()
print(' '.join([c,a,b]))

X, Y, Z = map(int, input().split())
print(Z, X, Y)

a,b,c=[int(s) for s in input().split()]
print(*[c,a,b])

a,b,c = map(int, input().split())
X = c
Y = a
Z = b
print (X,Y,Z)

x, y, z = input().split()
print((z + " " + x + " " + y))


x,y,z = map(int,input().split())

a = x
x = y
y = a

a = x
x = z
z = a
print(x,y,z)

x, y, z = map(int, input().split())
print(z, x, y)

def main():
    x, y, z = list(map(int, input().split()))
    x, y = y, x
    x, z = z, x
    return '{} {} {}'.format(x, y, z)


def __starting_point():
    print((main()))

__starting_point()

L=list(map(int,input().split()))
print(L[2],L[0],L[1])

a,b,c=map(int,input().split())
d=0
d=c
c=b
b=a
a=d
print(a,b,c)

x, y, z = input().split()

x, y = y, x
x, z = z, x

print((' '.join([x, y, z])))


x,y,z = map(int, input().split())
print(z,x,y)

x,y,z=map(int,input().split())
a=x
b=y
c=z
temp=a
a=b
b=temp
temp=a
a=c
c=temp
print(a,b,c)

x, y, z = map(int, input().split())
print(z, end='')
print(" ", end='')
print(x, end='')
print(" ", end='')
print(y, end='')

x,y,z=map(int,input().split())
print(z,x,y)

x,y,z=map(int,input().split())
print("{} {} {}".format(z,x,y))

x, y ,z = map(int, input().split())
print(z,x,y)

l = list(map(int, input().split()))
print(l[2],l[0],l[1])

def ex(x, y):
    t = x
    x = y
    y = t
    return x, y


X, Y, Z = list(map(int, input().split()))
X, Y = ex(X, Y)
X, Z = ex(X, Z)

print(f"{X} {Y} {Z}")


x, y, z = map(int, input().split())
print(z, x, y)

a,b,c = map(int,input().split())
a,b = b,a
a,c = c,a
print(a,b,c)

a,b,c = map(int,input().split())
print(c,a,b)

x, y, z = map(int, input().split())
X = z
Y = x
Z = y
print(X,Y,Z)

X,Y,Z=map(int, input().split())
b=Y
c=Z
Y=X
X=b
Z=X
X=c
print(X,Y,Z)

# 161 A
X,Y,Z = list(map(int, input().split()))
print(('{} {} {}').format(str(Z), str(X), str(Y)))

a, b, c = map(int, input().split())

temp = c
c = b
b = a
a = temp
print(a, b, c)

x,y,z = map(int,input().split())
print(z,x,y)

X,Y,Z = map(int,input().split())

print(Z,X,Y)

def N():
    return int(input())
def L():
    return list(map(int,input().split()))
def NL(n):
    return [list(map(int,input().split())) for i in range(n)]
mod = pow(10,9)+7

#import numpy as np
import sys
import math
import collections

a,b,c = L()
print(c,a,b)

X,Y,Z = map(int,input().split())
print(Z,X,Y)

A,B,C = map(int,input().split())

print(C,A,B)

a,b,c=map(int,input().split())
print(c,a,b)

a, b, c = map(str, input().split())
print(' '.join([c, a, b]))

x, y, z= map(int ,input().split())

print(z,x,y,sep=' ')

x,y,z = map(int,input().split())
print(z,end=' ')
print(x,end=' ')
print(y)

x, y, z = map(int, input().split())
print(z, x, y)

def resolve():
    x,y,z = map(int,input().split())
    x,y = y,x
    x,z = z,x
    print(f'{x} {y} {z}')
resolve()

x, y, z = input().split()
print(z, x ,y)

x = input().split()
print(x[2],x[0],x[1])

X,Y,Z = map(int, input().split())
print(Z,X,Y)

a, b, c = map(int, input().split( ))
print(f"{c} {a} {b}")

X,Y,Z=map(int,input().split())
print(Z,X,Y)

a,b,c=map(int,input().split())
print(c,a,b)

X, Y, Z = map(int, input().split())

X, Y, Z = Y, X, Z
X, Y, Z = Z, Y, X

print(X, Y, Z)

A,B,C =map(int,input().split())
print(C,A,B)

a,b,c = map(int,input().split())
print("%d %d %d" %(c,a,b))

#ABC161
X,Y,Z=map(int,input().split())
#----------以上入力----------
print (Z,X,Y)

# coding: utf-8
# Your code here!

x,y,z = input().split()

print(z,x,y)

X, Y, Z = map(int, input().split())
print(Z, X, Y)

import sys
from collections import deque, defaultdict, Counter
from itertools import accumulate, product, permutations, combinations
from operator import itemgetter
from bisect import bisect_left, bisect_right
from heapq import heappop, heappush
from math import ceil, floor, sqrt, gcd, inf
from copy import deepcopy
import numpy as np
import scipy as sp

INF = inf
MOD = 1000000007

x, y, z = [int(i) for i in input().split()]

tmp = 0
res = 0

res = f"{z} {x} {y}"

print(res)


arr = list(input().split())
print(arr[2],arr[0],arr[1])

x, y, z = map(int, input().split())

a = z
b = x
c = y

print(a, b, c)

X, Y, Z = map(int, input().split())
print(str(Z) + ' ' + str(X) + ' ' + str(Y))

x,y,z = map(int,input().split())
print(z,x,y)

x,y,z=map(int,input().split())
print(z,x,y,sep=" ")

x, y, z = map(int, input().split())
print(z,x,y)

x, y, z = map(int, input().split())
print(z, x, y)

def main() -> None:
    x, y, z = list(map(int, input().split()))

    print(f'{z} {x} {y}')
    return


def __starting_point():
    main()

__starting_point()

X, Y, Z = map(int,input().split())
print(Z, X, Y)

[A, B, C] = list(map(str, input().split(' ')))

print((C + ' ' + A + ' ' + B))