Problem:


Score : 100 points

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.

Sample Input 1

1 2 3

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

Sample Input 2

100 100 100

Sample Output 2

100 100 100

Sample Input 3

41 59 31

Sample Output 3

31 41 59



Sample input:
1 2 3


Sample output:
3 1 2

Submission status: Accepted

Solution code:
from heapq import heappush,heappop,heapify
from collections import deque,defaultdict,Counter
from itertools import permutations,combinations,groupby
import sys,bisect,string,math,time,functools,random
def Golf():*a,=map(int,open(0))
def I():return int(input())
def S_():return input()
def IS():return input().split()
def LS():return [i for i in input().split()]
def LI():return [int(i) for i in input().split()]
def LI_():return [int(i)-1 for i in input().split()]
def NI(n):return [int(input()) for i in range(n)]
def NI_(n):return [int(input())-1 for i in range(n)]
def StoLI():return [ord(i)-97 for i in input()]
def ItoS(n):return chr(n+97)
def LtoS(ls):return ''.join([chr(i+97) for i in ls])
def GI(V,E,Directed=False,index=0):
    org_inp=[];g=[[] for i in range(n)]
    for i in range(E):
        inp=LI();org_inp.append(inp)
        if index==0:inp[0]-=1;inp[1]-=1
        if len(inp)==2:
            a,b=inp;g[a].append(b)
            if not Directed:g[b].append(a)
        elif len(inp)==3:
            a,b,c=inp;aa=(inp[0],inp[2]);bb=(inp[1],inp[2]);g[a].append(bb)
            if not Directed:g[b].append(aa)
    return g,org_inp
def GGI(h,w,boundary=1,search=[],replacement_of_found='.',mp_def={'#':1,'.':0}):
#h,w,g,sg=GGI(h,w,boundary=1,search=['S','G'],replacement_of_found='.',mp_def={'#':1,'.':0}) # sample usage
    mp=[boundary]*(w+2);found={}
    for i in range(h):
        s=input()
        for char in search:
            if char in s:
                found[char]=((i+1)*(w+2)+s.index(char)+1)
                mp_def[char]=mp_def[replacement_of_found]
        mp+=[boundary]+[mp_def[j] for j in s]+[boundary]
    mp+=[boundary]*(w+2)
    return h+2,w+2,mp,found
def TI(n):return GI(n,n-1)
def bit_combination(k,n=2):return [[tb//(n**bt)%n for bt in range(k)] for tb in range(n**k)]
def show(*inp,end='\n'):
    if show_flg:print(*inp,end=end)
def show2d(g,h,w):
    for i in range(h):show(g[i*w:i*w+w])

YN=['YES','NO'];Yn=['Yes','No']
mo=10**9+7
inf=float('inf')
l_alp=string.ascii_lowercase
#sys.setrecursionlimit(10**7)
input=lambda: sys.stdin.readline().rstrip()

def ran_input():
    n=random.randint(4,16)
    rmin,rmax=1,10
    a=[random.randint(rmin,rmax) for _ in range(n)]
    return n,a

show_flg=False
show_flg=True

ans=0



x,y,z=LI()
ans=z,x,y
    
print(*ans)

Submission status: Accepted

Solution code:
s = list(map(int, input().split()))

x = s[0]
y = s[1]
z = s[2]

print(z,x,y)

Submission status: Accepted

Solution code:
l = [x for x in input().split(' ') if x != ' ']
m = []
m.append(l[2])
m.append(l[0])
m.append(l[1])
print(' '.join(map(str, m)))

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    a,b,c = map(int,input().split())
    tmp = a
    a = b
    b = tmp
    tmp = a
    a = c
    c = tmp
    print(a, b, c)

Submission status: Accepted

Solution code:
X, Y, Z = input().split()

A = X
B = Y
C = Z

newA1 = B
newB1 = A

newA2 = C
newC2 = newA1

print(newA2, newB1, newC2)

Submission status: Accepted

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

a,b = b, a
a,c = c, a

print(a, b, c)

Submission status: Accepted

Solution code:
a, b, c = [int(x) for x in input().split()]

# swap a & b
t1 = a
a = b
b = t1

# swap a & c
t2 = a
a = c
c = t2

print(a, b, c)

Submission status: Accepted

Solution code:
l = input().split()
l2 = [l[2], l[0], l[1]]
print(l2[0] + ' ' + l2[1] + ' ' + l2[2])

Submission status: Accepted

Solution code:
a,b,c=list(map(int,input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x,y,z = map(int, input().split())
def swap(a,b):
    temp = a 
    a = b
    b = temp
    return a,b

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

Submission status: Accepted

Solution code:
a, b, c = [int(w) for w in input().split()]

print(c, a, b)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
# coding: utf-8
import sys
sys.setrecursionlimit(10000000)

#const
dxdy=((1,0),(0,1))
# my functions here!
def pin(type=int):
    return map(type,input().rstrip().split())

def resolve():
    x,y,z=(pin())
    print(z,x,y)
"""         
#printデバッグ消した？
#前の問題の結果見てないのに次の問題に行くの？
"""
"""
お前カッコ閉じ,るの忘れてるだろ
"""
import sys
from io import StringIO
import unittest


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """1 2 3"""
        output = """3 1 2"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """100 100 100"""
        output = """100 100 100"""
        self.assertIO(input, output)

    def test_入力例_3(self):
        input = """41 59 31"""
        output = """31 41 59"""
        self.assertIO(input, output)


if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:

import collections


def solve(x, y, z):
    return " ".join(map(str, [z, x, y]))


[x, y, z] = list(map(int, input().strip().split()))
print(solve(x, y, z))

Submission status: Accepted

Solution code:
X, Y, Z = input().split()

print(Z, X, Y)

Submission status: Accepted

Solution code:
from sys import stdin
A, B, C = map(int, stdin.readline().rstrip().split())


print(C,A,B)

Submission status: Accepted

Solution code:
X, Y, Z = map(int, raw_input().split())

def swap(A, B):
    return B, A

X, Y = swap(X, Y)
X, Z = swap(X, Z)
print(str(X) + " " + str(Y)+ " " + str(Z))

Submission status: Accepted

Solution code:
#!/usr/bin/python3
x,y,z = map(str, input().split())
print(z +" " + x + " " + y)

Submission status: Accepted

Solution code:
import math
import numpy as np

w=0
x,y,z=(int(x) for x in input().split())
w=x
x=z
z=y
y=w
print(x,y,z,sep=" ")

Submission status: Accepted

Solution code:
# A - ABC Swap
x, y, z = map((int),(input().split()))

tmp = 0

# 箱Aと箱Bの中身を入れ替える
tmp = x
x = y
y = tmp

# 箱Aと箱Cの中身を入れ替える
tmp = x
x = z
z = tmp

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

Submission status: Accepted

Solution code:
a = [int(i) for i in input().split()]
print(a[2], a[0], a[1])

Submission status: Accepted

Solution code:
N = 3
A = [int(N) for N in input().split()]
C =[0]*3
C[0]=A[1]
C[1]=A[0]
C[2]=A[2]
A[0]=C[2]
A[1]=C[1]
A[2]=C[0]
for i in range(3):
    print(A[i])

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
 
#intの場合
X,Y,Z = map(int,input().split())     
print ( Z, X ,Y)

Submission status: Accepted

Solution code:
x, y, z = map(int, input().strip().split())

print(z, x, y)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split(' '))
print('{} {} {}'.format(c, a, b))

Submission status: Accepted

Solution code:
a = input().split()
x=a[0]
y=a[1]
z=a[2]
print("{} {} {}".format(z,x,y))

Submission status: Accepted

Solution code:
a,b,c = (int(x) for x in input().split())
print(c,a,b)

Submission status: Accepted

Solution code:
X,Y,Z = (int(x) for x in input().split())
A = X
B = Y
C = Z

A = Z
B = X
C = Y

print(A, B, C)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
print(str(c)+' '+str(a)+' '+str(b))

Submission status: Accepted

Solution code:
user = input().split()
print(user[2], user[0], user[1])

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(1 << 25)
read = sys.stdin.readline
rr = range


def read_ints():
    return list(map(int, read().split()))


def read_a_int():
    return int(read())


def read_tuple(H):
    '''
    H is number of rows
    '''
    ret = []
    for _ in range(H):
        ret.append(tuple(map(int, read().split())))
    return ret


def read_col(H, n_cols):
    '''
    H is number of rows
    n_cols is number of cols
    A列、B列が与えられるようなとき
    '''
    ret = [[] for _ in range(n_cols)]
    for _ in range(H):
        tmp = list(map(int, read().split()))
        for col in range(n_cols):
            ret[col].append(tmp[col])
    return ret


def read_matrix(H):
    '''
    H is number of rows
    '''
    ret = []
    for _ in range(H):
        ret.append(list(map(int, read().split())))
    return ret
    # return [list(map(int, read().split())) for _ in range(H)] # 内包表記はpypyでは遅いため


def read_map(H):
    '''
    H is number of rows
    文字列で与えられた盤面を読み取る用
    '''
    return [read()[:-1] for _ in range(H)]


def read_map_as_int(H):
    '''
    #→1,.→0として読み込む
    '''
    ret = []
    for _ in range(H):
        ret.append([1 if s == '#' else 0 for s in read()[:-1]])
        # 内包表記はpypyでは若干遅いことに注意
        # #numpy使うだろうからこれを残しておくけど
    return ret


MOD = 10**9 + 7
INF = 2**31  # 2147483648 > 10**9
# default import
from collections import defaultdict, Counter, deque
from operator import itemgetter
from itertools import product, permutations, combinations
from bisect import bisect_left, bisect_right  # , insort_left, insort_right
from fractions import gcd


def lcm(a, b):
    # 最小公倍数
    g = gcd(a, b)
    return a * b // g


X, Y, Z = read_ints()
print(Z, X, Y)

Submission status: Accepted

Solution code:
i = list(map(int, input().split()))
X = i[0]
Y = i[1]
Z = i[2]
swap=[Z,X,Y]
swap_moji=map(str, swap)
ZXY=' '.join(swap_moji)
print(ZXY)

Submission status: Accepted

Solution code:
x , y, z = map(int,input().split())
print('{} {} {}'.format(z,x,y))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

a = list(map(int, input().split()))

for i in range(3):
    print(a[-1+i], end=" ")

Submission status: Accepted

Solution code:
def a():
    x, y, z = map(int, input().split())
    print(z, x, y)


##########
if __name__ == "__main__":
    a()

Submission status: Accepted

Solution code:
import math

S =  list(map(int,input().split()))
X = S[0]
Y = S[1]
Z = S[2]
S[0],S[1] = S[1],S[0]
S[0],S[2] = S[2],S[0]
print(S[0],S[1],S[2])

Submission status: Accepted

Solution code:
def swap(A, B):
    return (B, A)

if __name__ == "__main__":
    X, Y, Z = input().split()
    X, Y = swap(X, Y)
    X, Z = swap(X, Z)
    print(X, Y, Z)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
a, b, c = map(int, input().split())
# 出力
print("{} {} {}".format(c, a, b))

Submission status: Accepted

Solution code:
li = list(map(int, input().split()))
print(li[2],li[0],li[1])

Submission status: Accepted

Solution code:
'''Swap the integer in each box'''
A, B, C = [int(i) for i in input("").split()]
New = A
A = B
B = New
New1 = A
A = C
C = New1
print(A, B, C)

Submission status: Accepted

Solution code:
nums = [int(e) for e in input().split()]
a = nums[0]
nums[0] = nums[1]
nums[1] = a
a=nums[0]
nums[0] = nums[2]
nums[2] = a
print(str(nums[0]) + ' ' + str(nums[1]) + ' ' + str(nums[2]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x,y,z = list(map(int,input().split()))
 
def swap(a,b):
    tmp = a
    a = b
    b = tmp
    return (a,b)
x,y = swap(x,y)
x,z = swap(x, z)
print(x,y,z)

Submission status: Accepted

Solution code:
A = list(map(int, input().split()))
A[0],A[1] =A[1],A[0]
A[0],A[2] =A[2],A[0]
print(' '.join(map(str, A)))

Submission status: Accepted

Solution code:
a, b, c = map(int, raw_input().split())
a, b = b, a
a, c = c, a
print '{} {} {}'.format(a, b, c)

Submission status: Accepted

Solution code:
N=list(map(int, input().split()))
print("{:} {:} {:}".format(N[2],N[0],N[1]))

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
x = a
y = b
z = c
print(z,' ',x,' ',y)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sun Jan 19 20:52:57 2020

@author: over-
"""

X,Y,Z=input().split()
print("{} {} {}".format(Z,X,Y))

Submission status: Accepted

Solution code:
import numpy as np
import math
import scipy as sp
import queue
import collections

MOD = 10 ** 9 + 7
INF = 10 ** 9

def main(kwargs):
    x = kwargs["x"]
    y = kwargs["y"]
    z = kwargs["z"]

    res = " ".join([z, x, y])
    return res

if __name__ == "__main__":
    kwargs = {}

    cin = input().split()
    #kwargs["n"] = cin[0]
    #kwargs["n"], kwargs["k"] = cin
    #kwargs["n"] = [int(i) for i in cin][0]
    kwargs["x"], kwargs["y"], kwargs["z"] = cin

    cout = main(kwargs)
    print(cout)

Submission status: Accepted

Solution code:
X, Y, Z = input().split(' ')
print(Z, X, Y)

Submission status: Accepted

Solution code:
X,Y,Z = map(int,input().split(' '))
print(Z,X,Y)

Submission status: Accepted

Solution code:
x, y, z = map(int, input().split())
print(str(z)+' '+str(x)+' '+str(y))

Submission status: Accepted

Solution code:
def main():
    x, y, z = [int(e) for e in input().split()]
    print(z, x, y)

if __name__ == "__main__":
    main()

Submission status: Accepted

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

temp = x
x = y
y = temp

temp = x
x = z
z = temp

print(x, y, z)

Submission status: Accepted

Solution code:
x,y,z=map(int, input().split())  #複数数値入力　「A B」みたいなスペース空いた入力のとき

print(z,x,y)

Submission status: Accepted

Solution code:
a = input().split()
a[0],a[1]=a[1],a[0]
a[0],a[2] = a[2],a[0]
print(" ".join(a))

Submission status: Accepted

Solution code:
x=input().split()
a=x[0]
b=x[1]
c=x[2]
a,b=b,a
a,c=c,a
print(a+" "+b+" "+c)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
cc = c
c = b
b = a
a = cc
print(a,b,c)

Submission status: Accepted

Solution code:
from copy import copy

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

# A <--> B
temp = copy(A)
A = copy(B)
B = copy(temp)

# A <--> C
temp = copy(A)
A = copy(C)
C = copy(temp)

print("%d %d %d" %(A,B,C))

Submission status: Accepted

Solution code:
x, y, z = list(map(int,input().split()))
print(z,x,y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(2147483647)
def main():
    x,y,z = map(int, input().split())
    tmp = x
    x = y
    y = tmp
    tmp = x
    x = z
    z = tmp
    print(x, y, z)
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())		# 5 7 2
print(c,a,b)

Submission status: Accepted

Solution code:
X, Y, Z = map(int, input().split(' '))
print(Z, X, Y)

Submission status: Accepted

Solution code:
x, y, z = map(int, input().split())
ans = [str(z), str(x), str(y)]
print(' '.join(ans))

Submission status: Accepted

Solution code:
# problem A

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

Submission status: Accepted

Solution code:
#!python3

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


def main():
    print(Z, X, Y)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

a, b = b, a
a, c = c, a

print(a, b, c)

Submission status: Accepted

Solution code:
#A
X,Y,Z=map(int,input().split())
print(Z,X,Y)

Submission status: Accepted

Solution code:
x,y,z = input().split(" ")
temp = x
x = y
y = temp
temp = x
x = z
z = temp
print (x,y,z)

Submission status: Accepted

Solution code:
e =list(map(int,input().split()))
a = e[0]
b = e[1]
e[0] = b
e[1] = a

c = e[0]
d = e[2]
e[0]= d
e[2]= c
for i in range(3):
  print(e[i], end =" ")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/ python3.8
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

Submission status: Accepted

Solution code:
# スペース区切りの整数の入力
X,Y,Z = map(int, input().split())

A=X
B=Y
C=Z

B=X
C=Y
A=Z

print(A,B,C)

Submission status: Accepted

Solution code:
a,b,c = map(int,input().split())
a,b= b,a
a,c=c,a
print(str(a)+" "+str(b)+" "+str(c))

Submission status: Accepted

Solution code:
a, b, c = [int(i) for i in input().split()]

print(c, a, b)

Submission status: Accepted

Solution code:
x, y, z = list(map(int, input().split()))


print("{0} {1} {2}".format(z, x, y))

Submission status: Accepted

Solution code:
X, Y, Z = map(int, input().split(' '))
X, Y, Z = Z, X, Y
print(X, Y, Z)

Submission status: Accepted

Solution code:
x,y,z=input().split();print(z,x,y)

Submission status: Accepted

Solution code:
A,B,C=map(str,input().split())
if len(A)>=0:
    print(C,A,B)

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

def swap(A, B):
    temp = A
    A = B
    B = temp
    return A, B
    
def main():
    X, Y, Z = map(int, input().rstrip().split())
    A = X
    B = Y
    C = Z
    A, B = swap(A, B)
    A, C = swap(A, C)
    print(" ".join(map(str, [A, B, C])))
    

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
L=list(map(int, input().split()))
A=L[0]
B=L[1]
C=L[2]

L[0]=B
L[1]=A
A=L[0]
B=L[1]

L[0]=C
L[2]=A
A=L[0]
C=L[2]

print(' '.join(map(str, L)))

Submission status: Accepted

Solution code:
a = input().split()
b = []
b.append(a[1]) # B
b.append(a[0]) # A
b.append(a[2]) # C
c = []
c.append(b[2]) # C
c.append(b[1])
c.append(b[0]) # A
print(" ".join(c))

Submission status: Accepted

Solution code:
A, B, C = input().split()
A, B = B, A
A, C = C, A
print(A,B,C)

Submission status: Accepted

Solution code:
num = input().split()

print(num[2] + " " + num[0] + " " + num[1])

Submission status: Accepted

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

print (Z,X,Y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x,y,z = map(int,input().split())
a = z
b = x
c = y
print(str(a)+" "+str(b)+" "+str(c))

Submission status: Accepted

Solution code:
#n = int(input())
#a,b = map(int,input().split())
#a_L = list(map(int,input().split()))

#n = int(input())
#a,b = map(int,input().split())
#a_L = list(map(int,input().split()))

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

a = z
b = x
c = y

print("{} {} {}".format(a,b,c))

Submission status: Accepted

Solution code:
s = input().split() 
print(s[2],s[0],s[1])

Submission status: Accepted

Solution code:
import sys
readline = sys.stdin.readline
x,y,z = map(int,readline().rstrip().split())
print("{} {} {}".format(z, x, y))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Apr  4 20:51:41 2020

@author: liang
"""

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

Submission status: Accepted

Solution code:
A,B,C = map(int, input().split())
tmp = A
A = B
B = tmp

tmp = A
A = C
C = tmp

print(A, end=" ")
print(B, end=" ")
print(C, end=" ")

Submission status: Accepted

Solution code:
import sys

def main():

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X,Y,Z = [int(i) for i in input().split()]
print(Z,X,Y)

Submission status: Accepted

Solution code:
x=list(map(int,input().split(" ")))
print(x[2],x[0],x[1])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x,y,z=map(int,input().split())
v=0

v=x
x=y
y=v

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
X, Y, Z =  input().split()
# スペース区切りの整数の入力

# 文字列の入力

# 出力
print("{} {} {}".format(Z, X, Y))

Submission status: Accepted

Solution code:
lst = input().split()

print("{} {} {}".format(lst[2],lst[0],lst[1]))

Submission status: Accepted

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

a,b,c = c,a,b 

print(a,b,c)

Submission status: Accepted

Solution code:
X,Y,Z = input().strip().split()

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

print(" ".join([X,Y,Z]))

Submission status: Accepted

Solution code:
line = input().split()
a = int(line[2])
b = int(line[0])
c = int(line[1])
print(a,b,c)

Submission status: Accepted

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

x, y = y, x

x, z = z, x

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

Submission status: Accepted

Solution code:
n=list(map(int,input().split()))
n[0],n[1]=n[1],n[0]
n[0],n[2]=n[2],n[0]

print(n[0],n[1],n[2])

Submission status: Accepted

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

print(Z, end=' ')
print(X, end=' ')
print(Y)

Submission status: Accepted

Solution code:
num=input()
num=num.split()

print(num[2]+" "+num[0]+" "+num[1])

Submission status: Accepted

Solution code:
x, y, z = map(int,input().split())
a = y
y = x
x = a

b = z
z = x
x = b

print(x,y,z)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
swap=c
swap1=b
swap2=a
a=swap
b=swap2
c=swap1
print(a,b,c)

Submission status: Accepted

Solution code:
A=list(map(int,input().split()))
a=A[2]
b=A[0]
c=A[1]
print(a,b,c)

Submission status: Accepted

Solution code:
X, Y, Z = [int(e) for e in input().split()]

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

print('{0} {1} {2}'.format(X, Y, Z))

Submission status: Accepted

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

# swap1 a,b
d = b
b = a
a = d

# swap2 a,c
d = c
c = a
a = d

# a,b,cの出力
print(str(a) + " " + str(b) + " " + str(c))

Submission status: Accepted

Solution code:
i = input()
list1 = i.split()
tmpA = list1[0]
list1[0] = list1[1]
list1[1] = tmpA

tmpA = list1[0]
list1[0] = list1[2]
list1[2] = tmpA
print(list1[0] + " " + list1[1] + " " + list1[2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
st = (str(c) + " " + str(a) + " "+ str(b))
print(st)

Submission status: Accepted

Solution code:
A, B, C = input().split()
tmp = A
A = B
B = tmp
tmp = A
A = C
C = tmp
print(A, B, C)

Submission status: Accepted

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

print(c)
print(a)
print(b)

Submission status: Accepted

Solution code:
a,b,c=list(map(int, input().split()))
answer=[0]*3
answer[0]=c
answer[1]=a
answer[2]=b
for i in answer:
  print(i, end=' ')

Submission status: Accepted

Solution code:
i = input().split()
tmp = i[0]
i[0] = i[1]
i[1] = tmp

tmp = i[2]
i[2] = i[0]
i[0] = tmp

print(*i)

Submission status: Accepted

Solution code:
X =  list(map(int,input().split()))

X[0], X[1] = X[1], X[0]
X[0], X[2] = X[2], X[0]
print(X[0],X[1], X[2])

Submission status: Accepted

Solution code:
x,y,z = [int(s) for s in input().split()]
print(z,x,y)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A = list(map(int,input().split()))
B = []
B.append(A[2])
B.append(A[0])
B.append(A[1])
print(B[0],B[1],B[2])

Submission status: Accepted

Solution code:
number = input()
numberlist = number.split(" ")
A = int(numberlist[0])
B = int(numberlist[1])
C = int(numberlist[2])
temp = 0
con1 = A + B + C
if con1 >= 3 and con1 <= 300:
    temp = A
    A = B
    B = temp
    temp = C
    C = A
    A = temp
    print(str(A) + " " + str(B) + " " + str(C))
else:
    print()

Submission status: Accepted

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

tmp = x
x = y
y = tmp

tmp = x
x = z
z = tmp

print('{} {} {}'.format(x, y, z))

Submission status: Accepted

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

y, x = x, y

z, x = x, z

print(x, end="")
print(" ", end="")
print(y, end="")
print(" ", end="")
print(z, end="")

Submission status: Accepted

Solution code:
xyz = list(map(int, input().split()))

print(str(xyz[2])+' '+str(xyz[0])+' '+str(xyz[1]))

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-

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


if __name__ == "__main__":
    solve()

Submission status: Accepted

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

ab = a
a = b
b = ab

ab = c
c = a
a = ab

print(a, b, c)

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
num_list = list(map(int,input().split()))

new_list = []
new_list.append(num_list[2])
new_list.append(num_list[0])
new_list.append(num_list[1])

print(new_list[0],new_list[1],new_list[2])

Submission status: Accepted

Solution code:
list = []
str = input()
list = str.split()
print(list[2],list[0],list[1])

Submission status: Accepted

Solution code:
a = input()
b = a.split()
print(b[2] + " " + b[0] + " " + b[1])

Submission status: Accepted

Solution code:
x = list(map(int,input().split()))
copy = x[0]
x[0] = x[1]
x[1] = copy

copy = x[0]
x[0] = x[2]
x[2] = copy

print(" ".join([str(i) for i in x]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
print(c, end=' ')
print(a, end=' ')
print(b)

Submission status: Accepted

Solution code:
[X,Y,Z] = input().split()
print(Z+' '+X+' '+Y)

Submission status: Accepted

Solution code:
a = input().split(' ')
s = [int(i) for i in a]
print(s[2], s[0], s[1])

Submission status: Accepted

Solution code:
x, y, z = input("").split()
print(z, x, y)

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
a,b=b,a
a,c=c,a
print("{} {} {}".format(a,b,c))

Submission status: Accepted

Solution code:
x = list(map(int, input().split()))

print(x[2],x[0],x[1])

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
print(str(c)+' '+str(a)+' '+str(b))

Submission status: Accepted

Solution code:
import sys
# input = sys.stdin.buffer.readline
def getN():
    return int(input())
def getNM():
    return map(int, input().split())
def getlist():
    return list(map(int, input().split()))
def getlist2():
    return [int(x) * 100000 for x in input().split()]
import math
import bisect
import heapq
from decimal import Decimal
# from collections import defaultdict, Counter, deque
MOD = 10**9 + 7
INF = 10**15
def main():
    a,b,c = getlist()
    print(c,a,b)

if __name__ == '__main__':
    main()

"""
9999
3

2916
"""

Submission status: Accepted

Solution code:
X, Y, Z = map(int, input().split(' '))

print(Z, X, Y)

Submission status: Accepted

Solution code:
a,b,c = input().split()
a,b = b,a
a,c = c,a
print(a + " "+ b + " " + c)

Submission status: Accepted

Solution code:
a=list(map(int,input().split()))
print(a[-1],a[0],a[1])

Submission status: Accepted

Solution code:
a,b,c = [int(x) for x in input().strip().split()]

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

Submission status: Accepted

Solution code:
line = input().rstrip()
line = line.split(" ")
line[0],line[1] = line[1],line[0]
line[0],line[2] = line[2],line[0]
print(' '.join(line))

Submission status: Accepted

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

print(z,x,y)

Submission status: Accepted

Solution code:
x,y,z = map(int,input().split())
print("{Z} {X} {Y}".format(Z=z, X=x, Y=y))

Submission status: Accepted

Solution code:
x,y,z = map(int,input().split())
print("%d %d %d" % (z,x,y))

Submission status: Accepted

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

t = X
X = Y
Y = t

t = X
X = Z
Z = t
print("%d %d %d" % (X , Y , Z))

Submission status: Accepted

Solution code:
has = [int(x) for x in input().split()]
has[0], has[1] = has[1], has[0]
has[0], has[2] = has[2], has[0]
print(*has)

Submission status: Accepted

Solution code:
A = list(map(int, input().split()))
B = [A[2],A[0],A[1]]
print(' '.join(map(str, B)))

Submission status: Accepted

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

print(x,y,z)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# coding: utf-8
# import pprint
# import numpy as np
# import code
import functools

if __debug__:
    def debug(arg):
        pass
else:
    import sys
    def debug(arg):
        debug = lambda *x: None
        print(arg, file=sys.stderr)

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

a = z
b = x
c = y

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X,Y,Z = map(str,input().split())

print(Z + ' ' + X + ' ' + Y)

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
print(a[2],a[0],a[1],sep=" ")

Submission status: Accepted

Solution code:
a = [i for i in input().split()]
# a = [int(i) for i in input().split()]

print(a[2] + ' ' + a[0] + ' ' + a[1])
# print(-(-a[0] // a[1]))

Submission status: Accepted

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

print("{} {} {}".format(Z, X, Y))

Submission status: Accepted

Solution code:
X,Y,Z = input().split()

print(Z,X,Y)

Submission status: Accepted

Solution code:

first_input = list(map(lambda x:int(x), input().split(" ")))
#second_input = input()

print(str(first_input[2])+" "+str(first_input[0])+" "+str(first_input[1]))

Submission status: Accepted

Solution code:
X, Y, Z = map(int,input().split())
def swap(a,b):
    swap = a
    a = b
    b = swap
    return a,b
X,Y = swap(X,Y)
X,Z = swap(X,Z)
print("{0} {1} {2}".format(X,Y,Z))

Submission status: Accepted

Solution code:
ABC = list(map(int, input().split()))

if ABC[0] <= 100 and ABC[1] <= 100 and ABC[2] <= 100 and 1 <= ABC[0] and 1 <= ABC[1] and 1 <= ABC[2]:
  print(ABC[2],ABC[0],ABC[1])

Submission status: Accepted

Solution code:
A,B,C=input().split()
X=int(A)
Y=int(B)
Z=int(C)
def swap(a, b):
    temp = a
    a = b
    b = temp
    return a,b

X,Y= swap(X,Y)
X,Z= swap(X,Z)
print(X,Y,Z)

Submission status: Accepted

Solution code:
x, y, z = input().split(" ")
print(z, x, y)

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
print(str(c) + " " + str(a) + " " + str(b))

Submission status: Accepted

Solution code:


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


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

Submission status: Accepted

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

print(str(z) + ' ' + str(x) + ' ' + str(y))

Submission status: Accepted

Solution code:
X, Y, Z = map(str, input().split())
print(Z + " " + X + " " + Y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B, C = map(str,input().split())
if len(A) >= 0:
  print(C, A, B)

Submission status: Accepted

Solution code:
a, b, c = input().split()
w = a
a = c
c = b
b = w
print(a, b, c)