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:
# abc161_a.py
# https://atcoder.jp/contests/abc161/tasks/abc161_a

# A - ABC Swap /
# 実行時間制限: 2 sec / メモリ制限: 1024 MB
# 配点 : 100点

# 問題文
# 3つの箱 A,B,C があります。それぞれの箱には、整数が 1 つ入っています。
# 現在、箱 A,B,C に入っている整数はそれぞれ X,Y,Zです。
# これらの箱に対して以下の操作を順に行った後の、それぞれの箱に入っている整数を求めてください。
#     箱 Aと箱 Bの中身を入れ替える
#     箱 Aと箱 Cの中身を入れ替える

# 制約
#     1≤X,Y,Z≤100
#     入力はすべて整数である。

# 入力
# 入力は以下の形式で標準入力から与えられる。
# X Y Z

# 出力
# 箱 A,B,Cに入っている整数を、順番に空白区切りで出力せよ。

# 入力例 1
# 1 2 3

# 出力例 1
# 3 1 2

# 箱 Aと箱 B の中身を入れ替えた後、箱 A,B,C に入っている整数はそれぞれ 2,1,3 です。
# 箱 A と箱 C の中身を入れ替えた後、箱 A,B,C に入っている整数はそれぞれ 3,1,2です。

# 入力例 2
# 100 100 100

# 出力例 2
# 100 100 100

# 入力例 3
# 41 59 31

# 出力例 3
# 31 41 59


global FLAG_LOG
FLAG_LOG = False


def log(value):
    # FLAG_LOG = True
    # FLAG_LOG = False
    if FLAG_LOG:
        print(str(value))


def calculation(lines):
    # S = lines[0]
    # N = int(lines[0])
    X, Y, Z = list(map(int, lines[0].split()))
    # values = list(map(int, lines[1].split()))
    # values = list(map(int, lines[2].split()))
    # values = list()
    # for i in range(N):
    #     values.append(int(lines[i]))
    # valueses = list()
    # for i in range(N):
    #     valueses.append(list(map(int, lines[i+1].split())))

    result = str(Z) + ' ' + str(X) + ' ' + str(Y)

    return [result]


# 引数を取得
def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines


# テストデータ
def get_testdata(pattern):
    if pattern == 1:
        lines_input = ['1 2 3']
        lines_export = ['3 1 2']
    if pattern == 2:
        lines_input = ['100 100 100']
        lines_export = ['100 100 100']
    if pattern == 3:
        lines_input = ['41 59 31']
        lines_export = ['31 41 59']
    return lines_input, lines_export


# 動作モード判別
def get_mode():
    import sys
    args = sys.argv
    global FLAG_LOG
    if len(args) == 1:
        mode = 0
        FLAG_LOG = False
    else:
        mode = int(args[1])
        FLAG_LOG = True
    return mode


# 主処理
def main():
    import time
    started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(1)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    # if mode > 0:
    #     print(f'lines_input=[{lines_input}]')
    #     print(f'lines_export=[{lines_export}]')
    #     print(f'lines_result=[{lines_result}]')
    #     if lines_result == lines_export:
    #         print('OK')
    #     else:
    #         print('NG')
    # finished = time.time()
    # duration = finished - started
    # print(f'duration=[{duration}]')


# 起動処理
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#l = list(map(int, input().split()))
x,y,z = map(int, input().split())

print (z,x,y)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# Generated by https://github.com/kyuridenamida/atcoder-tools
from typing import *
import collections
import itertools
import math
import sys

INF = float('inf')


def solve(X: int, Y: int, Z: int):
    return f"{Z} {X} {Y}"


def main():

    sys.setrecursionlimit(10 ** 6)

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  # type: int
    Y = int(next(tokens))  # type: int
    Z = int(next(tokens))  # type: int
    print(f'{solve(X, Y, Z)}')


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:
A,B,C = (int(x) for x in input().split())
print(C,A,B)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

tmp = X
X = Y
Y = tmp

tmp = X
X = Z
Z = tmp

print( str( X ) + " " + str( Y ) + " " + str( Z ) )

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
array = list(map(int,input().split()))
if not ( 1 <= min(array) and max(array) <= 100 ): sys.exit()
check = lambda x: isinstance(x,int)

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

Submission status: Accepted

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

print(Z,X,Y)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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(str(Z) + ' ' + str(X) + ' ' + str(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:
a,b,c = map(int,input().split())

print(c,a,b)

Submission status: Accepted

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

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:
x, y, z = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def ABC_swap():
    # 入力
    X, Y, Z = map(int, input().split())
    A = X
    B = Y
    C = Z
    # 入れ替え処理
    A, B = B, A
    A, C = C, A
    # 表示
    print(A, B, C)

ABC_swap()

Submission status: Accepted

Solution code:
# ABC Swap

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

print(Z, X, Y)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
abc = input()
indiv = abc.split(" ")

#Swap A and B
temp = indiv[0]
indiv[0] = indiv[1]
indiv[1] = temp

#Swap A and C
temp = indiv[2]
indiv[2] = indiv[0]
indiv[0] = temp

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
import collections as cl


def II(): return int(sys.stdin.readline())


def MI(): return map(int, sys.stdin.readline().split())


def LI(): return list(map(int, sys.stdin.readline().split()))


def main():
    a, b, c = MI()
    print(c, a, b, sep=" ")


main()

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())
print(f"{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:
import sys
sys.setrecursionlimit(10**7)
input = sys.stdin.readline

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

print(z,x,y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007


def main():
    X, Y, Z = map(int, readline().split())

    print(Z, X, Y)

    return


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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()
print(c, a, b)

Submission status: Accepted

Solution code:
x, y, z = [int(i) for i in 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(f'{a} {b} {c}')

Submission status: Accepted

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

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('{} {} {}'.format(z, x, y))

Submission status: Accepted

Solution code:
import sys


def main():
    input = sys.stdin.buffer.readline
    x, y, z = map(int, input().split())
    print(z, x, y)


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 = list(input().split())
print(x[2] + " " + x[0] + " " + x[1])

Submission status: Accepted

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

print(z,x,y)

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(int, input().split())
x ^= y
y ^= x
x ^= y
x ^= z
z ^= x
x ^= z
print(x, y, z)

Submission status: Accepted

Solution code:
x, y, z = (int(i) for i in input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

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,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())

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

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:
l = list(map(int, input().split()))

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

Submission status: Accepted

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

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

print(x,y,z)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c =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:
X, Y, Z = map(int,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:
A, B, C = map(int, input().split())

print(C, A, B)

Submission status: Accepted

Solution code:
A,B,C = map(str, input().split())
l = str(C)+str(' ')+str(A)+str(' ')+str(B)
print(l)

Submission status: Accepted

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

Submission status: Accepted

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

l[0],l[1]=l[1],l[0]
l[0],l[2]=l[2],l[0]

print(*l)

Submission status: Accepted

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

l[0],l[1]=l[1],l[0]
l[0],l[2]=l[2],l[0]

print(*l)

Submission status: Accepted

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

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(str(x[0]) +" " + str(x[1]) + " "+  str(x[2]))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
x = a[2]
y = a[0]
z = a[1]

print(x, y, z)

Submission status: Accepted

Solution code:
XYZ = list(map(int, input().split()))
tmp = XYZ[0]
XYZ[0] = XYZ[1]
XYZ[1] = tmp
tmp = XYZ[0]
XYZ[0] = XYZ[2]
XYZ[2] = tmp
print(" ".join(str(n) for n in XYZ))

Submission status: Accepted

Solution code:
# n, k = map(int, input().split())
# from collections import OrderedDict
# d = OrderedDict()
# a = list(input().split())
b = list(map(int, input().split()))
# print(r + max(0, 100*(10-n)))
# print("Yes" if 500*n >= k else "No") 
# s = input()
# a = int(input())
# b = int(input())
# c = int(input())
# s = input()
print(b[-1], *b[:2])

Submission status: Accepted

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

Submission status: Accepted

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

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())
print(Z, X, Y)

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 = list(map(int, input().split()))

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

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:
X,Y,Z = input().split()
print(Z,X,Y)

Submission status: Accepted

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

a=x
b=y
c=z

a=y
b=x

a=z
c=y

print(a,b,c)

Submission status: Accepted

Solution code:
import math  # noqa: F401
from typing import Dict, List, Optional, Tuple, Union  # noqa: F401


def main(A: List[int]):
    print(A[2], A[0], A[1])


if __name__ == "__main__":
    A = list(map(int, input().split()))
    main(A)

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:
X, Y, Z = [int(x) for x in input().split()]

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

Submission status: Accepted

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

print(*[ABC[i] for i in [2, 0, 1]])

Submission status: Accepted

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

Submission status: Accepted

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

print(a, b, c)

Submission status: Accepted

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

W = Y
Y = X
X = W

A = Z
Z = X
X = A

print(X , Y , Z)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


def sum_of_arithmetic_progression(s, d, n):
    return n * (2 * s + (n - 1) * d) // 2


def gcd(a, b):
    if b == 0:
        return a
    return gcd(b, a % b)


def lcm(a, b):
    g = gcd(a, b)
    return a / g * b


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


def main():
    solve()


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():

    X, Y, Z = map(int, input().split())
    return " ".join(map(str, [Z, X, Y]))

if __name__ == '__main__':
    print(main())

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 = y,x
x,z = z,x
print("{} {} {}".format(x,y,z))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = [int(i) for i in 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, input().split())
print(C,A,B)

Submission status: Accepted

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

a, b, c = 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())

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

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]

for i in range(3):
    print(a[i],end=' ');

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X,Y,Z = (int(a) for a in 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())
ans = [Z,X,Y]
print(*ans)

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, b, c)

Submission status: Accepted

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

Submission status: Accepted

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

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

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())

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

print(x,y,z)

Submission status: Accepted

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

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 = list(map(int, input().split()))
x, y = y, x
x, z = z, x
print(x, y, z)

Submission status: Accepted

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

ans=str(z)+' '+str(x)+' '+str(y)

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
print (c , a , 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:
a,b,c = map(int, input().split())
print (c , a , b)

Submission status: Accepted

Solution code:
x,y,z = 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:
X,Y,Z = map(str,input().split())
print(Z+' '+X+' '+Y)

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:
A,B,C = map(int,input().split())

#AとBを入れ替える
tmp=A
A=B
B=tmp

#AとCを入れ替える
tmp=A
A=C
C=tmp

print(A,B,C)

Submission status: Accepted

Solution code:

X, Y, Z = [int(x) for x in input().split()]

print(Z, X, Y)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

a,b,c = arr[0], arr[1], arr[2]

print(c,a,b)

Submission status: Accepted

Solution code:
ins = input()
a,b,c = ins.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("{} {} {}".format(Z, X, Y))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
  x, y, z = map(int, input().split())
  
  A = str(z)
  B = str(x)
  C = str(y)
  
  print(A + ' ' + B + ' ' + C)
      
  
main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
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, X, Y]
print(*A)

Submission status: Accepted

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

def swap(a,b):
    tmp = a
    a = b
    b = tmp
    return a,b


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
# 160 A

def swap(l, a, b, c):
    l[a], l[b] = l[b], l[a] 
    l[a], l[c] = l[c], l[a]
    return l

k = list(map(int, input().split()))
swap(k, 0, 1, 2)
for i in k:
    print(i, end  = " ")

Submission status: Accepted

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

print(Z + " " + X + " " + Y)

Submission status: Accepted

Solution code:
data=input()
x = data.split(" ")
tmp=x[2]
x[2]=x[1]
x[1]=x[0]
x[0]=tmp
print(x[0],x[1],x[2])

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=input().split()
    
print(z,x,y)

Submission status: Accepted

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

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

print(z,x,y)

Submission status: Accepted

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

x,y,z=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:
L=list(map(int,input().split()))
L[2],L[0]=L[0],L[2]
L[1],L[2]=L[2],L[1]
print(*L)

Submission status: Accepted

Solution code:
a,b,c = map(str,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,b,c=list(map(int,input().split()))
print(str(c)+" "+str(a)+" "+str(b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import numpy as np

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(Z+" "+X+" "+Y)

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())
a, b = b, a
a, c = c, a
print(a, b, c)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X,Y,Z = map(str, input().split())
ans = [Z,X,Y]
print(" ".join(ans))

Submission status: Accepted

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


def main():
    a, b, c = map(int, readline().rstrip().split())
    print(c, a, b)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    x, y, z = map(int, input().split())
    a = list([x, y, z])
    print(a[2], a[0], a[1], sep=' ')


if __name__=="__main__":
    main()

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 = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(f"{c} {a} {b}")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X,Y,Z = (int(X) for X in input().split())
Y,X = X,Y
Z,X = X,Z
print('{} {} {}'.format(X,Y,Z))

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
a, b, c = map(int, input().split())
print(c, a, b)

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:
#

import sys
input=sys.stdin.readline

def main():
    x,y,z=map(int,input().split())
    print(z,x,y)
    
    
    
if __name__=="__main__":
    main()

Submission status: Accepted

Solution code:
X,Y,Z=input().split()
N=[X,Y,Z]
print(N[2],N[0],N[1])

Submission status: Accepted

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

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=map(str,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(a,b,c)

Submission status: Accepted

Solution code:
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(" "))
print(c,a,b)

Submission status: Accepted

Solution code:
X,Y,Z=input().split()
# X,Y,Z=41,59,31
A,B,C=X,Y,Z
A,B,C=Z,X,Y
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:
A,B,C = list(map(int,input().split(" ")))

print(C,A,B)

Submission status: Accepted

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

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("{0} {1} {2}".format(x,y,z))

Submission status: Accepted

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

print(z, x, y)

Submission status: Accepted

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

# print(x, y, z)

# print("shuffle")
c = x
x = y
y = c
# print(1, "回目", x, y, z)
c = x
x = z
z = c
# print(2, "回目", x, y, z)

# print("result")
print(x, y, z)

Submission status: Accepted

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

a = x
x = y
y = a

a = z
z = x
x = a

print(x,y,z)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
#readline = sys.stdin.readline()
A,B,C = map(int,input().split())
print(C,A,B)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
box_A,box_B,box_C = map(int,input().split())

box_A,box_B = box_B,box_A
box_A,box_C = box_C,box_A
 
print(box_A,box_B,box_C)

Submission status: Accepted

Solution code:
x,y,z = map(int,input().split())
box_A = [x]
box_B = [y]
box_C = [z]

box_B.append(box_A.pop(0))
box_A.append(box_B.pop(0))
box_A.append(box_C.pop(0))
box_C.append(box_A.pop(0))
print(box_A[0],box_B[0],box_C[0])


#1 2 3
#100 100 100
#41 59 31

Submission status: Accepted

Solution code:
n=list(map(str,input().split()));print(n[2]+' '+n[0]+' '+n[1])

Submission status: Accepted

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

answerList = [z, x, y]

for i in range(len(answerList)):
    print(answerList[i], end=' ')

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(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(Z,X,Y)

Submission status: Accepted

Solution code:
A,B,C=[i for i in input().split(" ")]

print(" ".join([C,A,B]))

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:
a, b, c = map(str, input().split())

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())
print(Z, X, Y)