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:
#!/usr/bin/env python
import sys

if __name__ == '__main__':
    nums = input().split()
    a = nums[0]
    b = nums[1]
    c = nums[2]

    a = nums[1]
    b = nums[0]

    a = nums[2]
    c = nums[1]
    print(int(a),int(b),int(c))
    sys.exit()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

import sys, io, os
input = sys.stdin.readline
inputt = lambda: range(int(input()))
inputn = lambda n = 1: range(n)
inputi = lambda: map(int, input().split())
inputl = lambda: list(inputi())
from math import *
from heapq import *
from bisect import *
from functools import reduce, lru_cache
from collections import Counter, defaultdict
from builtins import *

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

Submission status: Accepted

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

a, b = b, a

a, c = c, a

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

Submission status: Accepted

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

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

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:
input_str = input()
input_list = list(map(lambda x: int(x), input_str.split(' ')))

input_list[0], input_list[1] = input_list[1], input_list[0]
input_list[0], input_list[2] = input_list[2], input_list[0]

print(' '.join(list(map(lambda x: str(x), input_list))))

Submission status: Accepted

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

Submission status: Accepted

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

def solve(X, Y, Z):
    return ' '.join(map(str, [Z, X, Y]))

if __name__ == '__main__':
    inputs = read()
    print("{}".format(solve(*inputs)))

Submission status: Accepted

Solution code:
X,Y,Z=input().split()
X=int(X)
Y=int(Y)
Z=int(Z)
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 = map(int, input().split())

tmp = a
a = b
b = tmp
tmp = a
a = c
c = tmp

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

Submission status: Accepted

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

Submission status: Accepted

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

X = a[0]
Y = a[1]
Z = a[2]

l = X
X = Y
Y = l

l = X
X = Z
Z = l

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

Submission status: Accepted

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

pivot = a
a = b
b = pivot

pivot = a
a = c
c = pivot

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

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
t1=0
t2=0
t3=0
t4=0
t1=t1+a
t2=t2+b
b=t1
a=t2

t3=t3+a
t4=t4+c
a=t4
c=t3
print(a,b,c)

Submission status: Accepted

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

Submission status: Accepted

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

a = C[0]
b = C[1]
c = C[2]

print(str(c) + " " + str(a) + " " + str(b))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a=list(map(int,input().split()))
b=[]
b.append(a[2])
b.append(a[0])
b.append(a[1])
for i in range(len(b)):
    print(str(b[i])+' ',end='')
print()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

def main():
    X,Y,Z = map(int, input().split())
    
    # 初期化
    boxA = X
    boxB = Y
    boxC = Z

    # 操作1
    exchange1 = exchangeNum(boxA,boxB)
    boxA = exchange1[0]
    boxB = exchange1[1]

    # 操作2
    exchange1 = exchangeNum(boxA,boxC)
    boxA = exchange1[0]
    boxC = exchange1[1]

    print('{} {} {}'.format(boxA,boxB,boxC))

def exchangeNum(left,right):
    left_value = right
    right_value = left
    return (left_value,right_value)

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:

def a161(x , y , z):

    return z + " " + x + " " + y

def main():
    x , y , z = map(str , input().split())
    print(a161(x , y , z))

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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


print(int(Z),int(X),int(Y))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

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

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:


x, y, z = [0] * 3

def format_input(filename = None):
	global x, y, z
	if filename == None:
		x, y, z = list(map(int, input().split()))

	elif filename == '__random__':
		from random import randint as rng
		x = rng(1, 10**2)
		y = rng(1, 10**2)
		z = rng(1, 10**2)
		print(x, y, z)

def get_answer():
	print(z, x, y)

if __name__ == '__main__':
	format_input()

	get_answer()

Submission status: Accepted

Solution code:
X = 0
Y = 0
Z = 0
t = 0
X, Y, Z = map(int,input().split())
t = Y
Y = X
X = t
t = Z
Z = X
X = t
print("{0} {1} {2}".format(X, Y, Z))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve(a, b, c):
    print("%d %d %d"% (c, a, b))


if __name__ == '__main__':
    xyz = input().split()

    x = int(xyz[0])
    y = int(xyz[1])
    z = int(xyz[2])

    solve(x, y, z)

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 = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])

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

memA, memB, memC = 0, 0, 0

memA = a
memB = b

a = memB
b = memA

memA = a
memC = c

a = memC
c = memA

print(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:
A = input("").split()

X = int(A[0])
Y = int(A[1])
Z = int(A[2])

print(Z, X, Y)

Submission status: Accepted

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

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:
def main():
    N = [int(_) for _ in input().split()]
    A = N[0]
    B = N[1]
    C = N[2]

    tmp = B
    B = A
    A = tmp

    tmp = C
    C = A
    A = tmp

    print(A, B ,C)

if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
x = list(map(str,input().split()))
y = []
y.append(x[2])
y.append(x[0])
y.append(x[1])
y = " ".join(y)

print(y)

Submission status: Accepted

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

print(int(z),int(x),int(y))

Submission status: Accepted

Solution code:
[a,b,c]=[int(item)for item in input().split()]
print("{} {} {}".format(c,a,b))

Submission status: Accepted

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

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("{} {} {}".format(a,b,c))

Submission status: Accepted

Solution code:
a,b,c = map(str, 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:
i = list(map(int, input().split()))
print(i[2],i[0],i[1])

Submission status: Accepted

Solution code:
import sys
readline = sys.stdin.buffer.readline
def even(n): return 1 if n%2==0 else 0

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

print(z,x,y)

Submission status: Accepted

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


def solve(X: int, Y: int, Z: int):
    print(Z, X, Y)
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    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
    solve(X, Y, Z)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

j = i[0]
i[0] = i[1]
i[1] = j

j = i[0]
i[0] = i[2]
i[2] = j

print(i[0],i[1],i[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:
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:
# coding: utf-8

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import sys

stdin = sys.stdin

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))
mod = 10**9 + 7 
sys.setrecursionlimit(1000010)


X,Y,Z= nm()
print(Z,X,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 = input().split()
print(z,end=" ")
print(x,end=" ")
print(y)

Submission status: Accepted

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

tmp = c
c = b
b = a
a = tmp

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

# 1
d = a
a = b
b = d

# 2
d = a
a = c
c = d

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

buff = Y
Y = X
X = buff

buff = X
X = Z
Z = buff

print(X,Y,Z)

Submission status: Accepted

Solution code:
s = list(map(int, input().split()))
c = s[-1]
s.pop(-1)
s.insert(0,c)
print(*s)

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:
x, y ,z= map(int, input().split())
a=y
b=x
a=z
c=y
print("{} {} {}".format(a,b,c))

Submission status: Accepted

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

temp = A
A = B
B = temp

temp = A
A = C
C = temp

print(A,B,C)

Submission status: Accepted

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

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(" ".join(map(str, X)))

Submission status: Accepted

Solution code:
import sys
stdin = sys.stdin

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))

X,Y,Z=nm()
l=[Z,X,Y]
print(*l)

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 = [int(s) for s in input().split()]
print(c, a, b)

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

Submission status: Accepted

Solution code:

if __name__ == "__main__":
    A, B, C = map(str, input().split())
    ret = "{} {} {}".format(C, A, B)
    print(ret)

Submission status: Accepted

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

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

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

Submission status: Accepted

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

a = N[0]
b = N[1]
c = N[2]
buf = 0


buf = a
a = b
b = buf
buf = 0

buf = a
a = c
c = buf

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

Submission status: Accepted

Solution code:
def main():
    x, y, z = map(int,input().split())
    print(str(z)+' '+str(x)+' '+str(y))
    
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:

inputs = input().split(' ')

tmp = inputs[0]
tmp2 = inputs[1]
tmp3 = inputs[2]

inputs[1] = tmp
inputs[0] = tmp2


tmp = inputs[2]
inputs[2] = inputs[0]
inputs[0] = tmp

L=[str(a) for a in inputs]
L=" ".join(L)
print(L)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

print('{} {} {}'.format(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(*A)

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

a = A
b = B
c = C

A = B
B = a

a = A
A = C
C = a

print(A+" "+B+" "+C)

Submission status: Accepted

Solution code:
#!/usr/bin/python
# -*- coding: UTF-8 -*-

all_nums = input()
a = all_nums.split(' ')[0]
b = all_nums.split(' ')[1]
c = all_nums.split(' ')[2]
'''
swaptmp = a
a = b
b = swaptmp
swaptmp = a
a = c
c = swaptmp'''
print(c+' '+a+' '+b)

Submission status: Accepted

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

Submission status: Accepted

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

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

w = X
X = Y
Y = w
w = Z
Z = X
X = w

print(X ,Y ,Z)

Submission status: Accepted

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

Submission status: Accepted

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

ans1 = n[1]
ans2 = n[0]
ans3 = n[2]

ans1 = n[2]
ans2 = n[0]
ans3 = n[1]

print(int(ans1), int(ans2), int(ans3))

Submission status: Accepted

Solution code:
#https://atcoder.jp/contests/abc161/tasks/abc161_a
# -*- coding: utf-8 -*-
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:
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:
A, B, C=map(int, input().split())
print(C,A,B)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
st=input().split()
print(st[2]+" "+st[0]+" "+st[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:
x,y,z = 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(" ".join(map(str, [x, y, z])))

Submission status: Accepted

Solution code:
def resolve():
    a, b, c = map(int, open(0).read().split())
    tmp_a = a
    a = b
    b = tmp_a
    tmp_c = c
    c = a
    a = tmp_c
    print(a, b, c)
    
resolve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
  #n = int(input())
  #s = input()
  #s = input().split()
  x,y,z = list(map(int,input().split()))
  #a = [input() for i in range(n)]
  #a = [int(input()) for i in range(n)]
  #a = [input().split() for i in range(n)]
  #a = [list(map(int,input().split())) for i in range(n)]
  ans = 0
  count = 0
  lis = []
  
  print(z,x,y)

if __name__ == '__main__':
  main()

Submission status: Accepted

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

# print(solve())

# def solve()が@return voidのとき
solve()

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,end=" ")
print(X, end=" ")
print(Y, 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:
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:
################### <----------------------  Quicksilver_ ---------------------> ####################
a,b,c=[int(i) for i in input().split()]
a,b=b,a
a,c=c,a
print(a,b,c)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
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()]

B = X
A = Y
C = A
A = Z

print(str(A)+' '+str(B)+' '+str(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())
temp = x
x = y
y = temp
temp = x
x = z
z = temp
print(x,y,z)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input().split(' ')
print(a[-1],end=' ')
print(a[0],end=' ')
print(a[1])

Submission status: Accepted

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

X_b=X
X=Y
Y=X_b
X_a=X
X=Z
Z=X_a
ans=[]

print(X, Y, Z)

Submission status: Accepted

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

print(' '.join(map(str,[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:
a,b,c= input().split()
print(c+" "+a+" "+b)

Submission status: Accepted

Solution code:
# 初期入力
X ,Y ,Z = (int(x) for x in input().split(" "))
#
X,Y,Z = Y,X,Z
X,Y,Z = Z,Y,X
print(X,Y,Z)

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:
tmp = 0

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

tmp = Y

Y = X

X = tmp

tmp = Z

Z = X

X = tmp

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

Submission status: Accepted

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

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 = 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())
#n=int(input())
#list_ = [input() for i in range(n)]
temp = a
a = b
b = temp
temp = a
a = c
c = temp

print(a,b,c)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A,B,C = (int(x) for x in input().split())
print(" ".join(map(str,[C,A,B])))

Submission status: Accepted

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


print(a,b,c)

Submission status: Accepted

Solution code:
def get():
    return list(map(int, input().split()))


a = get()
print('{0} {1} {2}'.format(a[2], a[0], a[1]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
for _ in range(1):
	a,b,c = map(int,input().split())
	print(c,a,b)

Submission status: Accepted

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

nums = nums_raw[:]
nums[0] = nums_raw[1]
nums[1] = nums_raw[0]
nums_raw = nums[:]
nums[0] = nums_raw[2]
nums[2] = nums_raw[0]
print(" ".join(map(str, nums)))

Submission status: Accepted

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

tmp = [abc[0], abc[1], abc[2]]
abc[0] = tmp[1]
abc[1] = tmp[0]
abc[0] = tmp[2]
abc[2] = tmp[1]
abc = map(str, abc)
print(" ".join(abc))

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def main():
    from builtins import int, map, list, print
    import sys
    sys.setrecursionlimit(10 ** 6)

    input = sys.stdin.readline
    input_list = (lambda: input().rstrip().split())
    input_number = (lambda: int(input()))
    input_number_list = (lambda: list(map(int, input_list())))

    A,B,C = input_number_list()
    print(C,A,B)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:

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

temp = y

y = x
x = temp

temp = z
z = x
x = temp

print(x,y,z)

Submission status: Accepted

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

a=i[2]
b=i[0]
c=i[1]
print(a,b,c)

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(str(Z)+' '+str(X)+' '+str(Y))

Submission status: Accepted

Solution code:
xyz=list(map(int, input().split()))
x=xyz[0]
y=xyz[1]
z=xyz[2]
zxy=[z, x, y]
print(' '.join(map(str, zxy)))

Submission status: Accepted

Solution code:
# coding: utf-8

a=list(map(int,input().split()))
#読み込み

a1 = a[0]
b1 = a[1]
c1 = a[2]

#AとBを入れ替え
a2 = b1
b2 = a1
c2 = c1

#AとCを入れ替え
a_fin = c2
b_fin = b2
c_fin = a2

print(str(a_fin)+" "+str(b_fin)+" "+str(c_fin))

Submission status: Accepted

Solution code:

X, Y, Z = 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(' ')))
print(  z , x , y)

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=list(input().split())
b=a[2]
del a[2]
a.insert(0,b)
print(' '.join(a))

Submission status: Accepted

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

Submission status: Accepted

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

t = x
x = y
y = t

t = x
x = z
z = t

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

Submission status: Accepted

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

Submission status: Accepted

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

li[0], li[1] = li[1], li[0]
li[0], li[2] = li[2], li[0]

for i in li:
    print(i, end=" ")

Submission status: Accepted

Solution code:
import sys

x, y, z = map(int, sys.stdin.readline().split())

def main():
    print(z, x, y)

if __name__ ==  '__main__':
    main()

Submission status: Accepted

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


def main(x, y, z):
    a, b, c = x, y, z
    a, b, c = b, a, c
    a, b, c = c, b, a
    print(a, b, c)


main(X, Y, Z)

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

Submission status: Accepted

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

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


temp = x
x = z
z = temp

temp = z
z = y
y = temp

print(x,y,z)

Submission status: Accepted

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

tmp = b
b = a
a = tmp

tmp = c
c = a
a = tmp

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - ABC Swap
X,Y,Z = list(map(int, input().split()))
A=X
B=Y
C=Z

#箱Aと箱Bの中身を入れ替える
T=A
A=B
B=T

#箱Aと箱 Cの中身を入れ替える
T=A
A=C
C=T

print(A,B,C)

Submission status: Accepted

Solution code:
nums = input().split()
print(nums[2], *nums[:2])

Submission status: Accepted

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

print(Z,X,Y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from io import StringIO
import unittest


def resolve():
    # get input
    a, b, c = input().split()

    work = ""

    work = b
    b = a
    a = work

    work = c
    c = a
    a = work

    print(a + " " + b + " " + c)




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__":
    # unittest.main()
    resolve()

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc161/tasks/abc161_a
X, Y, Z = map(int, input().split())
print(Z, X, Y)

Submission status: Accepted

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