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:
import sys
sys.setrecursionlimit(700000)

def s_in():
    return input()

def n_in():
    return int(input())

def l_in():
    return list(map(int, input().split()))

def print_l(l):
    print(' '.join(map(str, l)))

class Interval():
    def __init__(self, li):
        self.li = li
        self.n = len(li)
        self.sum_li = [li[0]]
        for i in range(1, self.n):
            self.sum_li.append(self.sum_li[i-1] + li[i])

    def sum(self, a, b=None):
        if b is None:
            return self.sum(0, a)

        res = self.sum_li[min(self.n-1, b-1)]
        if a > 0:
            res -= self.sum_li[a-1]
        return res

x,y,z = l_in()
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:
import sys

(X,Y,Z)=list(map(int,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:
# A
A, B, C = map(int,input().split())
print(C, A, B)

Submission status: Accepted

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

Submission status: Accepted

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

a=X
b=Y
c=Z

aa=b
bb=a
aaa=c
cc=aa

print(aaa,bb,cc)

Submission status: Accepted

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

a, b, c = Z, X, Y

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())
ans = [z,x,y]
print(*ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
a = [int(x) for x in input().split()]
print(a[2],a[0],a[1])

Submission status: Accepted

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

Submission status: Accepted

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

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

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:
# coding: utf-8


def main():
    x, y, z = map(int, input().split())
    return z, x, y


zxy = main()
print("{} {} {}".format(zxy[0], zxy[1], zxy[2]))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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 main():
    print(z,x,y)

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
data = input().split()

[data[0], data[1]] = [data[1], data[0]]

[data[0], data[2]] = [data[2], data[0]]

print(*data)

Submission status: Accepted

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

X = X^Y
Y = X^Y
X = X^Y

X = X^Z
Z = X^Z
X = X^Z

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

Submission status: Accepted

Solution code:
n=list(input().split())
nn=[]
nn.append(n[2])
nn.append(n[0])
nn.append(n[1])
result = ' '.join(nn)
print(result)

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("{} {} {}".format(C, A, B))

Submission status: Accepted

Solution code:
def swap(x, y):
    t = x
    x = y
    y = t
    return x, y

l = list(map(int, input().split()))
l[0], l[1] = swap(l[0], l[1])
# Swap the contents of the boxes A and B
l[0], l[2] = swap(l[0], l[2])
# Swap the contents of the boxes A and C
print(*l)

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:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim:fenc=utf-8 ff=unix


def solv(X, Y, Z):
    # A B C
    # Z X Y
    return " ".join([Z, X, Y])


if __name__ == "__main__":

    # X Y Z
    #
    X, Y, Z = input().split()
    ans = solv(X, Y, Z)

    print(ans)

Submission status: Accepted

Solution code:
#create date: 2020-04-04 21:05

import sys
stdin = sys.stdin

def ns(): return stdin.readline().rstrip()
def ni(): return int(ns())
def na(): return list(map(int, stdin.readline().split()))

def main():
    a, b, c = na()
    a, b = b, a
    a, c = c, a
    print(a, b, c)

if __name__ == "__main__":
    main()

Submission status: Accepted

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


def inpl():
    return list(map(int, input().split()))


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

Submission status: Accepted

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

wrk =0
wrk = a
a = b
b = wrk

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

Submission status: Accepted

Solution code:
#coding : utf-8

A, B, C = map(lambda x: int(x), input().split(" "))

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

Submission status: Accepted

Solution code:
import bisect
import re
x,y,z=input().split()
print(z,x,y)

Submission status: Accepted

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

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

Submission status: Accepted

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

main()

Submission status: Accepted

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

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

Submission status: Accepted

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

print(c+' '+a+' '+b)

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:
b=[]
a=list(map(int,input().split()))
b.append(a[2])
b.append(a[0])
b.append(a[1])
print(*b,sep=' ')

Submission status: Accepted

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

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

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

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:
a = input()
numbers = a.split()
print("{} {} {}".format(numbers[2], numbers[0], numbers[1]))

Submission status: Accepted

Solution code:

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

x2=y
y2=x
x3=z
z2=x2

print(x3,y2,z2)

Submission status: Accepted

Solution code:

def resolve():
    a, b, c = map(int, input().split())
    a, b = b, a
    a, c = c, a
    return print(a, b, c)


if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
a_0, b_0, c_0 = map(int, input().split()) 

a_1 = b_0
b_1 = a_0
c_1 = c_0

a_2 = c_1
b_2 = b_1
c_2 = a_1

print(a_2,b_2,c_2)

Submission status: Accepted

Solution code:
# coding: utf-8

x, y, z = input().split()
print('{2} {0} {1}'.format(x, y, z))

Submission status: Accepted

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

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

Submission status: Accepted

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

A = X
B = Y 
C = Z

temp = 0

temp = B
B = A
A = temp

temp = C
C = A 
A = temp

print(A, B, C)

Submission status: Accepted

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

t = x
x = z
z = t

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

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

Submission status: Accepted

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

B=X
C=Y
A=Z

print(Z,X,Y)

Submission status: Accepted

Solution code:
A = [int(x) for x in input().split()]
temp = A[0]
A[0] = A[1]
A[1] = temp
temp = A[2]
A[2] = A[0]
A[0] = temp
print(str(A[0])+" "+str(A[1])+" "+str(A[2]))

Submission status: Accepted

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

print(z,x,y)

Submission status: Accepted

Solution code:
n=input()

abc = n.split(" ")

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

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

Submission status: Accepted

Solution code:
import sys
from math import sqrt
from collections import Counter, defaultdict

input = sys.stdin.readline


def I():
    return int(input())


def MI():
    return map(int, input().split())


def LI():
    return list(MI())


def LIN(n: int):
    return [I() for _ in range(n)]


inf = float("inf")
mod = 10 ** 9 + 7


def main():
    a, b, c = MI()
    print("{} {} {}".format(c, a, b))
    pass


if __name__ == "__main__":
    main()

Submission status: Accepted

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

#intの場合
X,Y,Z = map(int,input().split())

Xa = Y
Ya = X
Xa = Z
Za = Y

print ( Z, X ,Y)

Submission status: Accepted

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

swap=0
swap=z
z=y
y=x
x=swap

print(x,y,z)

Submission status: Accepted

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

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] = list(map(int, input().split()))
#ans = [Z, X, Y]
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:
(x, y, z) = [int(s) for s in input().split()]

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

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

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

Submission status: Accepted

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

def main():
    li = input().rstrip().split()
    ans = li[2]+' '+li[0]+' '+li[1]

    print(ans)

if __name__ == '__main__':
    main()

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

print(x,y,z)

Submission status: Accepted

Solution code:
X,Y,Z = map(int, input().split())
tmp = Y
Y = X
X = Z
Z = tmp
print(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:
x, y, z = [int(i) for i in input().split()]
print(z, x, y)

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

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().rstrip()

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#161.A
X,Y,Z = map(int,input().split())
L =[]
L.append(str(Z))
L.append(str(X))
L.append(str(Y))

print(" ".join(L))

Submission status: Accepted

Solution code:
a,b,c=map(int, input().split())
temp=b
b=a
a=temp
temp=c
c=a
a=temp
print(a,end=" ")
print(b,end=" ")
print(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())
a = y
b = x
x = a
y = b
c = x
d = z
x = d
z = c
print(x,y,z)

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

A=X
B=Y
C=Z

A=Y
B=X

A=Z
C=Y

print("{} {} {}".format(A,B,C))

Submission status: Accepted

Solution code:
x,y,z = (str(x) for x in input().split())
print(" ".join([z,x,y]))

Submission status: Accepted

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

Submission status: Accepted

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

x, y, z = map(int, input().replace("\n","").split())

print(z,x,y)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
a, b, c = map(int, input().split())
# cabで出せばいい
# 出力
print('{} {} {}'.format(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:
import collections, math

local = False
if local:
    file = open("inputt.txt", "r")

def inp():
    if local:
        return file.readline().rstrip()
    else:
        return input().rstrip()

def ints():
    return [int(_) for _ in inp().split()]


X, Y, Z = ints()

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

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

Submission status: Accepted

Solution code:
def main():
    X,Y,Z = map(int,input().split())
    X,Y,Z = Z,X,Y
    print(X,Y,Z)
if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
abc = input().split(" ")
print(abc[2], abc[0], abc[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:
A = list(input().split(' '))
C =  [A[2], A[0], A[1]]

print(' '.join(C))

Submission status: Accepted

Solution code:
def main():
    X, Y, Z = input().split()
    print("{} {} {}".format(Z, X, Y))



if __name__ == "__main__":
    main()

Submission status: Accepted

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

li1 = [c, a, b]

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

Submission status: Accepted

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

solution()

Submission status: Accepted

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

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

Submission status: Accepted

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

import sys
import math


debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        # for line in sys.stdin:
        #     lines.append(line)
        lines.append(input())
    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]

    (x, y, z) = [e for e in lines[0].split(' ')]

    return (x, y, z)


def solve(x, y, z):
    a, b, c = x, y, z 
    a, b, c = b, a, c
    a, b, c = c, b, a
    
    return ' '.join([a, b, c])
    


def main():
    # 出力
    result = solve(*parse_input())
    if isinstance(result, list):
        for r in result:
            print("%s" % r, sep='')
    else:
        print("%s" % result, sep='')

if __name__ == '__main__':

    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
INT_MAX=10**18+7
MOD=10**9+7
def INPUT():return list(int(i) for i in input().split())
def LIST_1D_ARRAY(n):return [0 for _ in range(n)]
def LIST_2D_ARRAY(m,n):return [[0 for _ in range(n)]for _ in range(m)]
#################################################################################
a,b,c=INPUT()
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("{} {} {}".format(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 = 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 = 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 = input().split()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

tmp=X
X=Z
Z=Y
Y=tmp

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

Submission status: Accepted

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

x = A
A = B
B = x

x = A
A = C
C = x

print(A, B, C)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
X, Y, Z = map(int, input().split())
print(Z, X, Y)

Submission status: Accepted

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

ans_list = [num_list[2], num_list[0], num_list[1]]
print(*ans_list)

Submission status: Accepted

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

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

print(c, a, b)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

def resolve():
    import sys
    input = sys.stdin.readline
    s = input().rstrip().split()
    print(s[2], s[0], s[1])
   
resolve()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# A - ABC Swap

X, Y, Z = (int(i) for i in input().split())
print(Z, X, Y)

Submission status: Accepted

Solution code:
x, y, z = [int(_) for _ in 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())
A=Z
B=X
C=Y
print(str(A)+" "+str(B)+" "+str(C))

Submission status: Accepted

Solution code:
from sys import stdin


def main():
    X, Y, Z = [int(x) for x in stdin.readline().rstrip().split()]
    print('{} {} {}'.format(Z, X, Y))


if __name__ == "__main__":
    main()

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=map(int,input().split())
a=X
X=Y
Y=a
c=X
X=Z
Z=c
print(X,Y,Z)

Submission status: Accepted

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

Submission status: Accepted

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

wk = b
b  = a
a  = wk

wk = c
c  = a
a  = wk
print('{} {} {}'.format(a,b,c))

Submission status: Accepted

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

A = alist[2]
B = alist[0]
C = alist[1]

print(A, B, C)

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

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

Submission status: Accepted

Solution code:
def main():
    import sys
    input = sys.stdin.readline

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
A,B,C=(int(x) for x in input().split())
#N=int(input())
#A=list(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 = list(input().split())

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

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(C,A,B)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
XYZ=input().split(" ")
X=XYZ[0]
Y=XYZ[1]
Z=XYZ[2]

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 = [int(i) for i in input().split()]
x1 = y
y1 = x
z1 = x1
x = z
print(x, y1, z1)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin


def get_result(data):
    X, Y, Z = data
    return str(Z) + ' ' + str(X) + ' ' + str(Y)


if __name__ == '__main__':
    data = list(map(int, stdin.readline().rstrip().split(' ')))
    result = get_result(data)
    print(result)

Submission status: Accepted

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

Submission status: Accepted

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

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:
li = list(map(int,input().split()))
s = li[0]
li[0] = li[1]
li[1] = s
s = li[0]
li[0] = li[2]
li[2] = s
print(li[0],li[1],li[2])

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from fractions import gcd 
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 , end= " ")
print(a , end= " ")
print(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:
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(str(Z) + ' ' + str(X) + ' ' + str(Y))

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

tmp1 = X
X = Y
Y = tmp1

tmp2 = X
X = Z
Z = tmp2

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

print(a[2],end=" ")
print(a[0],end=" ")
print(a[1])

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
import itertools#これは色々使える組み込み関数みたいなやつ
import fractions
import copy
import bisect
#import math#数学的計算はこれでいける。普通に0.5乗しても計算可能
#w=input()
from operator import itemgetter
from sys import stdin
#input = sys.stdin.readline#こっちの方が入力が早いが使える時に使っていこう
from operator import mul
from functools import reduce
from collections import Counter


N=3
M=3
i=0
j=0
k=0
n=3
r=1
a=[0]*5
b=[]
#n=int(input())
#r=int(input())
#print(M)
#A=int(input())
#B=int(input())
#print(N)
"1行1つの整数を入力を取得し、整数と取得する"

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

print(c,a,b)
#number_list=list(map(int, input().split(" ")))#数字の時
#print(number_list)
"12 21 332 とか入力する時に使う"
"1行に複数の整数の入力を取得し、整数として扱う"

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
#メモ
for i in number_list:#こっちの方がrage使うより早いらしい
    print(number_list[i-1])#

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

'''
x=[]
y=[]
for i in range(N):
    x1, y1=[int(i) for i in input().split()]
    x.append(x1)
    y.append(y1)
print(x)
print(y)
"複数行に2数値を入力する形式 x座標とy座標を入力するイメージ"
'''

'''
mixlist=[]
for i in range(N):
    a,b=input().split()
    mixlist.append((int(a),b))
print(mixlist)
"複数行にintとstrを複合して入力するやつ，今回はリスト一つで処理している"
'''

'''
#array=[input().split()for i in range(N)]
#print(type(array[0][0]))
#print(array)
"正方行列にstr型の値を入力"
'''

#brray=[list(map(int, input().split(" ")))for i in range(N)]
#print(type(brray[0][0]))
#print(brray)
'''
入力
1 2
4 5
7 8
出力結果
[[1, 2], [4, 5], [7, 8]]
'''
"列数に関して自由度の高いint型の値を入力するタイプの行列"
#以下に別解を記載
#N, M = [int(i) for i in input().split()]
'''
table = [[int(i) for i in input().split()] for m in range(m)]

print(type(N))
print(N)
print(type(M))
print(M)

print(type(table))
print(table)
'''




#s=input()
#a=[int(i) for i in s]
#print(a[0])
#print([a])
#単数値．桁ごとに分割したい．入力と出力は以下の通り
#イメージとして1桁ごとにリストに値を入れているかんじ

'''
入力
1234
出力
1
[[1, 2, 3, 4]]
'''




'''
word_list= input().split(" ")
print(word_list[0])
"連続文字列の入力"
"qw er ty とかの入力に使う"
"入力すると空白で区切ったところでlistの番号が与えられる"
'''



'''
A, B, C=stdin.readline().rstrip().split()#str style 何個でもいけることが多い
print(A)
"リストではなく独立したstr型を入れるなら以下のやり方でOK"
'''


#a= stdin.readline().rstrip()
#print(a.upper())
"aという変数に入っているものを大文字にして出力"


#a,b=map(int, input().split())  #int style 複数数値入力　「A B」みたいなスペース空いた入力のとき

#なんかうまく入力されるけど
#a=[[int(i) for i in 1.strip()]for 1 in sys.stdin]
#a = [[int(c) for c in l.strip()] for l in sys.stdin]]
#print(a)
#複数行の数値を入力して正方行列を作成


##############################################################################################
##############################################################################################
#under this line explains example calculation


#nCr combination
'''
def cmb(n,r):
    #When n < r , this function isn't valid
    r= min(n-r,r)
    #print(n,r)
    if r == 0: return 1
    over = reduce(mul, range(n, n-r, -1))
    #flochart mul(n,n-1)=x
    #next     mul(x,n-2)........(n-r+1,n-r)
    #mul read a,b and returns a*b

    under = reduce(mul, range(1, r+1))
    #print(over, under)
    #reduce is applied mul(1,2)=2
    #next   mul(2,3)=6
    #next   mul(6,4)=4.........last(r!,r+1)=r+1!

    return over // under
    #// is integer divide
    #calc example 5C2
    #over=5*4*3
    #under=3*2*1
a = cmb(n, r)
#print(a)
'''

'''
#集計
#example
#a=[2,2,2,3,4,3,1,2,1,3,1,2,1,2,2,1,2,1]
#a=Counter(a)
for i in a.most_common(n):print(i)
#most_common()メソッドは、出現回数が多い要素順にCounterオブジェクトを並び替えます。
#引数にint型の数字nを設定した場合は、出現回数が高い上位ｎ個の要素を返します。
#何も設定しなければ、コンテナ型にあるすべての要素を出現回数の順番に並び替えたタプル型オブジェクトを返します。
#out put
#(2, 8)
 #(1, 6)
#(3, 3)
#(4, 1)
'''


#二部探索(binary search)
#A = [1, 2, 3, 3, 3, 4, 4, 6, 6, 6, 6]
#print(A)
#index = bisect.bisect_left(A, 5) # 7 最も左(前)の挿入箇所が返ってきている
#A.insert(index, 5)
#print(index)
#print(A)
'''
bisect.bisect_left(a, x, lo=0, h=len(a))
引数
a: ソート済みリスト
x: 挿入したい値
lo: 探索範囲の下限
hi: 探索範囲の上限
(lo, hiはスライスと同様の指定方法)
bisect_leftはソートされたリストaに対して順序を保ったままxを挿入できる箇所を探索します。leftが示す通り、aにすでにxが存在している場合は、挿入箇所は既存のxよりも左側になります。また、lo, hiを指定することで探索範囲を絞り込むことも可能です。デフォルトはaの全体が探索対象です。
'''





########################################################################
########################################################################
#b2=a[:]  #1次元のときはコピーはこれで良い
#print(b2)

#a= [[0]*3 for i in range(5)] #2次元配列はこう準備、[[0]*3]*5だとだめ
#b3=copy.deepcopy(a)  #2次元配列はこうコピーする
#print(b3)

Submission status: Accepted

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

#Output
print(z, x, y)

Submission status: Accepted

Solution code:
import sys

X,Y,Z = map(int, sys.stdin.readline().strip().split())
print(Z, X, Y)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
i_a, i_b, i_c = map(int, input().split())
s_a = i_b
s_b = i_a
s_c = i_c
t_a = s_c
t_b = s_b
t_c = s_a
print("{} {} {}".format(t_a, t_b, t_c))

Submission status: Accepted

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

Submission status: Accepted

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

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:
result = list(input().split())
print(result[2], result[0], result[1])

Submission status: Accepted

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

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

  print(A,B,C)

if __name__ == "__main__":
  main()

Submission status: Accepted

Solution code:
A, B, C = list(map(int, input().split()))
D = B
E = A
F = C
G = F
H = E
I = D
print(G, H, I)

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 = input().split()
print(int(z), int(x), int(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:
items = list(map(int, input().split()))
print('{} {} {}'.format(items[2], items[0], items[1]))

Submission status: Accepted

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