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

Submission status: Accepted

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

print(Z, X, Y)

Submission status: Accepted

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

n = a
a = b
b = n
n = a
a = c
c = n

print(a, b, c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

s[0], s[1] = s[1], s[0]
s[0], s[2] = s[2], s[0]

for i in s:
    print (i)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x,y,z = map(int, input().split())  #3個の数字の入力を受け取る

x2 = y
y2 = x
z2 = z

x3 = z2
y3 = y2
z3 = x2

print(x3, y3, z3)

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

Submission status: Accepted

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

changer = A
A = C
C = B
B = changer

print(A, B, C)

Submission status: Accepted

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

Submission status: Accepted

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

changer = A
A = C
C = B
B = changer

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
X, Y, Z = [int(_) for _ in stdin.readline().rstrip().split()]
print(Z, X, Y)

Submission status: Accepted

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

Submission status: Accepted

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

print('{0} {1} {2}'.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())
X, Y = Y, X
X, Z = Z, X
print('{} {} {}'.format(X, Y, Z))

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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 = (int(i) for i in input().split())
print(Z,X,Y)

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

a1 = b
b1 = a

c1 = a1
a2 = c

print(a2,b1,c1)

Submission status: Accepted

Solution code:

def swap(a ,b):
    x = 0
    x = a
    a = b
    b = x
    return a,b


str_number_list = input().split()

print(str_number_list[2]+" "+str_number_list[0] + " "+ str_number_list[1])  # Z,X,Y

Submission status: Accepted

Solution code:

def swap(a ,b):
    x = 0
    x = a
    a = b
    b = x
    return a,b


str_number_list = input().split()
X = str_number_list[0]  #A
Y = str_number_list[1]  #B
Z = str_number_list[2]  #C

# swap(A,B)
X , Y = swap(X,Y)
#swap(A,C)
X,Z = swap(X,Z)
print("%s %s %s" % (X,Y,Z))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import string
import collections
from collections import Counter
from collections import deque


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


def nCr(n, r):
    return math.factorial(n)//(math.factorial(n-r)*math.factorial(r))


def has_duplicates2(seq):
    seen = []
    for item in seq:
        if not(item in seen):
            seen.append(item)
    return len(seq) != len(seen)


def divisor(n):
    divisor = []
    for i in range(1, n+1):
        if n % i == 0:
            divisor.append(i)
    return divisor


# coordinates
dx = [-1, -1, -1, 0, 0, 1, 1, 1]
dy = [-1, 0, 1, -1, 1, -1, 0, 1]

a = readints()
a[0], a[1] = a[1], a[0]
a[0], a[2] = a[2], a[0]
for i in range(len(a)):
    print(int(a[i]), end=' ')

Submission status: Accepted

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

Submission status: Accepted

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

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

outputs = [i[2], i[0], i [1]]
print(' '.join(outputs))

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

Submission status: Accepted

Solution code:

ls = input().split(" ")
temp = ls[0]
ls[0] = ls[1]
ls[1] = temp
temp = ls[0]
ls[0] = ls[2]
ls[2] = temp
print(("{} {} {}").format(ls[0],ls[1],ls[2]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# from math import factorial,sqrt
# from itertools import permutations as permus
# from fractions import gcd
# from collections import deque,Counter
# from decimal import Decimal, getcontext
# # getcontext().prec = 1000
# # eps = Decimal(10) ** (-100)

# import numpy as np
# from scipy.sparse.csgraph import shortest_path, dijkstra, floyd_warshall, bellman_ford, johnson
# from scipy.sparse import csr_matrix

# strlist = "abcdefghijklmnopqrstuvwxyz"
x,y,z = map(int,input().split())

print(z,x,y)
# print("{:.10f}".format(ans))
# print(*ans)   # unpackして出力。間にスペースが入る
# for row in board:
#     print(*row,sep="")    #unpackして間にスペース入れずに出力する

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().rstrip().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:
def swap(x,y,z):
  x, y = y, x
  x, z = z, x
  
  print('%d %d %d' % (x,y,z))
  
val = list(input().split(' '))
x, y, z = [ int(x) for x in val ]
swap(x,y,z)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def swap(a,b):
    return (b,a)

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

print(a,b,c)

Submission status: Accepted

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

main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

temp = a
a = b
b = temp

temp = a
a = c
c = temp

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

Submission status: Accepted

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


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
print(a[2],a[0],a[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(Z,X,Y)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
input = sys.stdin.readline

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

Submission status: Accepted

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

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

Submission status: Accepted

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

ABC = [Z,X,Y]
print(*ABC)

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

print(z, x, y)

Submission status: Accepted

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

print z, x, y

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
xyz_list = input().split(" ")
x = xyz_list[0]
y = xyz_list[1]
z = xyz_list[2]

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:

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

Submission status: Accepted

Solution code:
# A - ABC Swap

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

x,y,z = z,x,y

print(x,y,z)

Submission status: Accepted

Solution code:

def SWAP(a,b):
    return b,a

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

a, b = SWAP(a,b)
a,c = SWAP(a,c)

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:
#ABC161A
import sys
x,y,z = map(int, sys.stdin.readline().split())
x, y = y, x
x, z = z, x
print(x,y,z)

Submission status: Accepted

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

#output
print(Z, X, Y, sep = " ")

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()))
print(a[-1],a[0],a[1])

Submission status: Accepted

Solution code:
from sys import stdin, stdout

x, y, z = map(int, stdin.readline().split())
stdout.write("%d %d %d\n" % (z, x, y))

Submission status: Accepted

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


print(Z, X, Y)

Submission status: Accepted

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

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


main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-
x = list(map(int, input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import setrecursionlimit, exit
setrecursionlimit(1000000000)

from heapq import heapify, heappush, heappop, heappushpop, heapreplace
from bisect import bisect_left, bisect_right

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

Submission status: Accepted

Solution code:
def swap(a, b, c):
    a, b = b, a
    a, c = c, a

    return a, b, c

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

print(a, b, c)

Submission status: Accepted

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

Submission status: Accepted

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

from sys import stdin, stderr

def main():
   A = map(int, stdin.readline().split())
   res = A[-1:] + A[:-1]
   print(' '.join(map(str, res)))

   return 0

if __name__ == '__main__': main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    a,b,c=INTM()
    print(c,a,b)
if __name__ == '__main__':
    do()

Submission status: Accepted

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

n = x
x = z
z = y
y = n

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

print(Z,X,Y)

Submission status: Accepted

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

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:
t = input().split(' ')
temp = t.pop(-1)
t = [temp] + t
for i in t:
    print(i,end=' ')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys


def solve():
    readline = sys.stdin.buffer.readline
    mod = 10 ** 9 + 7
    a, b, c = list(map(int, readline().split()))
    print(c, a, b)


if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
X, Y, Z = [int(i) for i in 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("{} {} {}".format(c, a, b))

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
l = input().split()
l.insert(0, l.pop(2))
print(' '.join(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(int, input().split())
print(z,x,y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
o=input().rstrip().split(' ')
print(int(o[len(o)-1]),int(o[0]) , int(o[1]))

Submission status: Accepted

Solution code:
#!/usr/bin/python3

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

Submission status: Accepted

Solution code:
a, b, c = input().split()
lis = [c, a, b]
print(" ".join(lis))

Submission status: Accepted

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

Submission status: Accepted

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

# from collections import deque

def linput(_t=int): return list(map(_t, input().split()))

def gcd(n,m):
    while m: n,m = m, n%m
    return n

def lcm(n,m): return n*m//gcd(n,m)

def main():
    # N = int(input())
    # A = int(input())
    A,B,C = linput(str)
    # B,C = linput()
    # S = input()

    # vA = linput()
    # S = input()
    # mX = [linput() for _ in [0,]*N]

    # res = 0
    # res = sum(int(a) for a in (A,B,C))
    # print(res)
    print(C,A,B)
    # print(("No","Yes")[res%2])


main()

Submission status: Accepted

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

Submission status: Accepted

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

Ans = [z, x, y]
print(' '.join(map(str, Ans)))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L=[i for i in input().split()]
print(L[2],L[0],L[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,b,c = input().split()
print(c+" "+a+" "+b)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str = input()# sを取得し、strに値を入れる
str_list = str.split()
print(str_list[2] + " "+ str_list[0] + " " + str_list[1])

Submission status: Accepted

Solution code:
x,y,z = map(int,input().split())
a = z
b = x
c = y
print("{0} {1} {2}".format(a,b,c))

Submission status: Accepted

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

X_orig = X
X = Y
Y = X_orig

X_orig = X
X = Z
Z = X_orig

print(X, Y, Z)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin, stdout
rl = lambda: stdin.readline()
rll = lambda: stdin.readline().split()

def main():
	#a b c -> c a b
	x, y, z = (int(x) for x in rll())
	stdout.write(" ".join(str(x) for x in [z, x, y]))
	stdout.close()

if __name__ == "__main__":
	main()

Submission status: Accepted

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

tmp = 0
tmp = A
A = B
B = tmp

tmp = A
A = C
C = tmp

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

Submission status: Accepted

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

import sys
input = sys.stdin.readline

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
s=str(input())
l=[0,0]
i=0
for n in range(0,len(s)):
  if s[n]==' ':
    l[i]=n
    i+=1
  if i==2:
    break
X=int(s[0:l[0]])
Y=int(s[l[0]+1:l[1]])
Z=int(s[l[1]+1:len(s)])
temp1=X
X=Y
Y=temp1
temp2=X
X=Z
Z=temp2
print(X,' ',Y,' ',Z)

Submission status: Accepted

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

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

print(a, b, c)

Submission status: Accepted

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

print(Z, X, Y)

Submission status: Accepted

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

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

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

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:
s=input()
k=s.split(' ')
print('%s %s %s'%(k[2],k[0],k[1]))

Submission status: Accepted

Solution code:
x,y,z=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())	

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

print(x,y,z)

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
n = len(a)-1
i = 0
for _ in range(len(a)-1):
    temp = a[i]
    a[i] = a[n-1]
    a[n-1] = temp
    n+=1
for  i in a:
         print(i,end=" ")

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[2],A[0],A[1])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import unittest


class TestA(unittest.TestCase):
    def test_1(self):
        self.assertEqual(think([1, 2, 3]), (3, 1, 2))

    def test_2(self):
        self.assertEqual(think([100, 100, 100]), (100, 100, 100))

    def test_3(self):
        self.assertEqual(think([41, 59, 31]), (31, 41, 59))


def solve():
    xyz = read()
    result = think(xyz)
    write(result)


def read():
    return read_int(3)


def read_int(n):
    return read_type(int, n, sep=' ')


def read_float(n):
    return read_type(float, n, sep=' ')


def read_type(t, n, sep):
    return list(map(lambda x: t(x), read_line().split(sep)))[:n]


def read_line(n=0):
    if n == 0:
        return input().rstrip()
    else:
        return input().rstrip()[:n]


def think(xyz):
    return xyz[2], xyz[0], xyz[1]


def write(result):
    print('{0:d} {1:d} {2:d}'.format(result[0], result[1], result[2]))


if __name__ == '__main__':
    # unittest.main()
    solve()

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

d = a
a = b
b = d

d = a
a = c
c = d

print(a, b, c)

Submission status: Accepted

Solution code:
# ABC161A
def f(x, y, z):
    a, b, c = x, y, z
    a, b = b, a
    a, c = c, a
    print(a, b, c)

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

Submission status: Accepted

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

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

Submission status: Accepted

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

tmp = abc[0]
abc[0] = abc[1]
abc[1] = tmp

tmp = abc[0]
abc[0] = abc[2]
abc[2] = tmp

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

Submission status: Accepted

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

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

a=A
A=B
B=a

a=A
A=C
C=a

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import numpy as np

box = np.array(input().split())
box[0],box[1] = box[1], box[0]
box[0],box[2] = box[2], box[0]

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

swap = A
A = B
B = swap

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

Submission status: Accepted

Solution code:
# ABC161 A

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

    print(z, x, y)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x, y, z = map(int, input().split())
# print(z, x, y)
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(' '.join([str(c),str(a),str(b)]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

import sys
sys.setrecursionlimit(300000)


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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
X, Y, Z = map(int, input().split())
A, B, C = X, Y, Z
A, B = B, A
A, C = C, A
print('{} {} {}'.format(A, B, C))

Submission status: Accepted

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

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

print(a, b, c)

Submission status: Accepted

Solution code:
#abc161a
x,y,z=map(int,raw_input().split())
x,y=y,x
x,z=z,x
print x,y,z

Submission status: Accepted

Solution code:
import sys


def input():
    return sys.stdin.readline().strip()


X, Y, Z = map(int, input().split())
ans = [Z, X, Y]
print(*ans)

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:

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

if (a == b == c):
    print(str(a) + ' ' + str(b) + ' ' + str(c))
else:
    a, b = b, a
    a, c = c, a
    print(str(a) + ' ' + str(b) + ' ' + str(c))

Submission status: Accepted

Solution code:
x,y,z = [int(_) for _ in 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 = map(int,input().split())

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

Submission status: Accepted

Solution code:
N = list(map(str, input().split()))

A = [N[2],N[0],N[1]]

print(' '.join(A))

Submission status: Accepted

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

A = int(Z)
B = int(X)
C = int(Y)

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

Submission status: Accepted

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

Submission status: Accepted

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