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 = [int(i) for i in input().split(" ")]

t = X
X = Y
Y = t

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

Submission status: Accepted

Solution code:
N = [int(_) for _ in input().split()]

def solve(N):
    N[0], N[1] = N[1], N[0]
    N[0], N[2] = N[2], N[0]
    
    return str(N[0]) + " " + str(N[1]) + " " + str(N[2])

print(solve(N))

Submission status: Accepted

Solution code:
#coding:utf-8
import sys,os
from collections import defaultdict, deque
from fractions import gcd
from math import ceil, floor
sys.setrecursionlimit(10**6)
write = sys.stdout.write
dbg = (lambda *something: print(*something)) if 'TERM_PROGRAM' in os.environ else lambda *x: 0
def main(given=sys.stdin.readline):
    input = lambda: given().rstrip()
    LMIIS = lambda: list(map(int,input().split()))
    II = lambda: int(input())
    XLMIIS = lambda x: [LMIIS() for _ in range(x)]
    YN = lambda c : print('Yes') if c else print('No')
    MOD = 10**9+7

    
    X,Y,Z = LMIIS()
    print(Z,X,Y)
if __name__ == '__main__':
    main()

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)

main()

Submission status: Accepted

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

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

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

Submission status: Accepted

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

print('%d %d %d' % (c,a,b))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

tmp = Y
Y = X
X = tmp

tmp = X
X = Z
Z = tmp

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
from sys import stdin, stdout


def read():
    x0 = stdin.readline().rstrip()
    return x0


def __main__():

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

    out = '{} {} {}\n'.format(z, x, y)
    stdout.write(out)
    
__main__()

Submission status: Accepted

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

Submission status: Accepted

Solution code:


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



print(C,A,B)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
lst = list(map(int, input().split()))
a, b, c = lst[0], lst[1], lst[2]
ans = [c, a, b]
print(' '.join(map(str, ans)))

Submission status: Accepted

Solution code:
p1, p2, p3 = map(int, input().split())
p=[]
p.append(p3)
p.append(p1)
p.append(p2)

print(*p)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def SI(): return sys.stdin.readline()[:-1]

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

main()

Submission status: Accepted

Solution code:
A,B,C = input().split()
print(" ".join([C,A,B]))

Submission status: Accepted

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

x=X
y=Y
z=Z

Y=x
X=z
Z=y

print(X,Y,Z)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    A,B,C = map(int,input().split())
    x = A
    y = B
    A = y
    B = x
    x = A
    y = C
    A = y
    C = x
    print(A,B,C)
if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(" ".join([str(n) for n in [Z, X, Y]]))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

def swap(arr, a, b):
  tmp = arr[a]
  arr[a] = arr[b]
  arr[b] = tmp
  return arr

arr1 = swap(res, 0, 1)
arr2 = swap(arr1, 0, 2)
print(' '.join(arr2))

Submission status: Accepted

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

Submission status: Accepted

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

ans=[]

ans.append(hako[2])
ans.append(hako[0])
ans.append(hako[1])

print(*ans)

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:
#!/usr/bin/env python3
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:
x,y,z=map(int,input().split())
s=[z,x,y]
print(*s)

Submission status: Accepted

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

b_temp = b
b = a
a = b_temp

a_temp = a
a = c
c = a_temp

print(a,b,c)

Submission status: Accepted

Solution code:
X,Y,Z=map(int,input().split())
a=[]
a.append(Z)
a.append(X)
a.append(Y)
for i in range(3):
  print(a[i],end=" ")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve(X, Y, Z):
    return Z, X, Y

def main():
    X, Y, Z = map(int, input().split())
    a , b, c = solve(X, Y, Z)
    print(a, b, c, sep=' ')

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    arr = [int(s) for s in list(input().split())]
    print(arr[2], arr[0], arr[1])

Submission status: Accepted

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

# swap A<->B
tmp = A
A = B
B = tmp

# swap A<->C
tmp = A
A = C
C = tmp

print(A, B, C)

Submission status: Accepted

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


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

ans = " ".join([z, x, y])
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

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

tmp1 = x
x = y
y = tmp1

tmp2 = x
x = z
z = tmp2

print(x, y, z)

Submission status: Accepted

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

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

def main():
    mod=10**9+7
    x,y,z=MI()
    print(z,x,y)

main()

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

print(Z,X,Y)

Submission status: Accepted

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

Submission status: Accepted

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

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

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:
def main():
  
  x,y,z = input().split()
  print(z,x,y)
  return 0
 
if __name__ == "__main__":
  main()

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

tmp = a[0]
a[0] = a[1]
a[1] = tmp
tmp = a[2]
a[2] = a[0]
a[0] = tmp
print(' '.join(a))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

tmp = A
A = B
B = tmp

tmp = A
A = C
C = tmp

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

t = A
A = B
B = t

t = A
A = C
C = t

print(A, B, C)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

b = []
b.append(str(a[2]))
b.append(str(a[0]))
b.append(str(a[1]))

print(' '.join(b))

Submission status: Accepted

Solution code:
line = input().split(" ")
X = line[2]
Y = line[0]
Z = line[1]
output = X + " " + Y + " " + Z
print(output)

Submission status: Accepted

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

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:
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:
line = input().rstrip().split(' ')

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

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())
temp_y = y
y = x
x = temp_y
temp_x = x
x = z
z = temp_x
print(x,y,z)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B,C = map(int,input().split())
temp = A
temp2 = B
A = temp2
B = temp
temp3 = A
A = C
C = temp3
print("{} {} {}".format(A,B,C))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(' '.join([z, x, y]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import numpy as np

N, Y, Z = list(map(int, input().split()))
A = Z
B = N
C = Y
print('{} {} {}'.format(A,B,C))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding utf-8 -*-
a, b, c = map(int, input().split())
print(c,a, b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
"""
3 つの箱 A,B,C があります。それぞれの箱には、整数が 1 つ入っています。
現在、箱 A,B,C に入っている整数はそれぞれ X,Y,Z

です。
これらの箱に対して以下の操作を順に行った後の、それぞれの箱に入っている整数を求めてください。

    箱 A

と箱 B
の中身を入れ替える
箱 A
と箱 C の中身を入れ替える
"""
x,y,z=input().split()
print(z,x,y)

Submission status: Accepted

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

# import bisect
# from collections import Counter, deque, defaultdict
# import copy
# from heapq import heappush, heappop, heapify
# from fractions import gcd
# import itertools
# from operator import attrgetter, itemgetter

# import math

# import numpy as np

readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


def main():
    x, y, z = list(map(int, readline().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())

A, B = B, A
A, C = C, A

print(A,B,C)

Submission status: Accepted

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

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

print(z,x,y)

Submission status: Accepted

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

Submission status: Accepted

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

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)

Submission status: Accepted

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

Submission status: Accepted

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

print('{0} {1} {2}'.format(C,A,B))

Submission status: Accepted

Solution code:
A = [int(i) for i in input().split()]
B = [A[-1]] + A[:-1]
print(*B)

Submission status: Accepted

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

Submission status: Accepted

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

temp=X
X=Y
Y=temp
temp=X
X=Z
Z=temp

print(X,Y,Z)

Submission status: Accepted

Solution code:
x = [i for i in input().split()]
s = x[0]
x[0] = x[1]
x[1] = s
s = x[0]
x[0] = x[2]
x[2] = s
print(" ".join(x))

Submission status: Accepted

Solution code:
def solve():
  x, y, z = map(int, input().split())
  x, y = y, x
  x, z = z, x
  print(x, y, z)
  return 0
 
if __name__ == "__main__":
  solve()

Submission status: Accepted

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

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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

t = input().split()
x = int(t[0])
y = int(t[1])
z = int(t[2])

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

X, Y, Z = MAP()

# 1
tmp = X
X = Y
Y = tmp

# 2
tmp = X
X = Z
Z = tmp

print(X, Y, Z)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x,y,z=map(int,input('').split(' '))
k=0
k=x
x=y
y=k
k=x
x=z
z=k
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:
X, Y, Z = map(str,input().split())
print(" ".join([Z,X,Y]))

Submission status: Accepted

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


if __name__ == "__main__":
    resolve()

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

Submission status: Accepted

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

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

print( Z, X , Y)

Submission status: Accepted

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

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

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

Submission status: Accepted

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

def swap(left, right):
    tmp = left
    left = right
    right = tmp

    return left, right

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

print(X, Y, Z)

Submission status: Accepted

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

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

print(a,b,c)

Submission status: Accepted

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

def solve(X: int, Y: int, Z: int):
    print("{} {} {}".format(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:
#n=int(input())
x,y,z=map(int,input().split())
#l=list(map(int,input().split()))
#l=[list(map(int,input().split())) for i in range(n)]

temp1=x
temp2=y
temp3=z
x,y=y,x
x,z=z,x

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

Submission status: Accepted

Solution code:
import itertools
import math
import fractions

n = list(map(int,input().split()))	
s =[]
s.append(n[2])
s.append(n[0])
s.append(n[1])
for i in range(3):
    print(s[i],end=" ")

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

B = X
C = Y
A = Z
print(A, B, C)

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

print (Z, X, Y)

Submission status: Accepted

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

print(c, a, b)

Submission status: Accepted

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

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

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:
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())
X1=Y
Y1=X
Z1=X1
X2=Z
print(X2, "" , Y1, "", Z1)

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
e = (a[2])
b = (a[0])
c = (a[1])
print(str(e) + ' ' + str(b) + ' ' +str(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 = input().split()
print('{} {} {}'.format(C,A,B))

Submission status: Accepted

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


main()

Submission status: Accepted

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

    print(Z, X, Y)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

print(Z, X, Y)

Submission status: Accepted

Solution code:
X,Y,Z = (int(x) for x in input().split())
temp1 = X
temp2 = Y
temp3 = Z
X = temp2
Y = temp1
X = temp3
Z = temp2
x = str(X)
y = str(Y)
z = str(Z)
print(x + ' ' + y + ' ' + z)

Submission status: Accepted

Solution code:
def main():

    x,y,z = tuple([int(t)for t in input().split()])

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

    print(x,y,z)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
abc = input('')
a = int(abc.split(' ')[0])
b = int(abc.split(' ')[1])
c = int(abc.split(' ')[2])

a2 = c
b2 = a
c2 = b
print('{} {} {}'.format(a2,b2,c2))

Submission status: Accepted

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

Submission status: Accepted

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


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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip() 

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

if __name__ == '__main__':
    resolve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from collections import defaultdict
from collections import deque
from string import ascii_uppercase
import sys, bisect, math, heapq

stdin = sys.stdin
read_int = lambda : list(map(int,stdin.readline().split()))
read_str = lambda : stdin.readline().rstrip()

A, B, C = read_int()
A, B = B, A
A, C = C, A
def solve():
    print("{a} {b} {c}".format(a=A, b=B, c=C))

if __name__ == "__main__":
    solve()

Submission status: Accepted

Solution code:
# ANSHUL GAUTAM
# IIIT-D

from math import *
from copy import *
from string import *				# alpha = ascii_lowercase
from random import *				# l.sort(key=lambda l1:l1[0]-l1[1]) => ex: sort on the basis difference
from bisect import *				# bisect_left(arr,x,start,end)  => start and end parameters are temporary
from sys import stdin				# bisect_left return leftmost position where x should be inserted to keep sorted
from sys import maxsize
from operator import *				# d = sorted(d.items(), key=itemgetter(1))
from itertools import *
from collections import Counter		# d = dict(Counter(l))
from collections import defaultdict # d = defaultdict(list)

'''

'''

def solve(l,m):
	f = 1
	n = len(l)
	tot = sum(l)
	k = tot/(4*m)
	l = sorted(l)[::-1][:m]
	for i in l:
		if(i < k):
			f = 0
			break
	if(f):
		return 'Yes'
	else:
		return 'No'

a,b,c = list(map(int, stdin.readline().rstrip().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 = z
b = x
c = y

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

Submission status: Accepted

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

X2, Y2, Z2 = Y, X, Z
X3, Y3, Z3 = Z2, Y2, X2

print(X3, Y3, Z3)

Submission status: Accepted

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

Submission status: Accepted

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

print(" ".join([ str(e) for e in ints]))

Submission status: Accepted

Solution code:
# coding: utf-8

# 標準入力 <int><int>
X, Y, Z = map(int, input().split())

print(Z, X, Y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from collections import defaultdict

import sys
sys.setrecursionlimit(10**6)
ii = lambda: int(input())
mis = lambda: map(int,input().split())
lmis = lambda: list(mis())
INF = float('inf')

def main():
    x,y,z=mis()
    print(z,x,y,sep=' ')


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

print('{} {} {}'.format(data[2], data[0], data[1]))

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

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

Submission status: Accepted

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

Submission status: Accepted

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

print(Z, X, Y)

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

a = x
b = y
c = z

print(c, a, b)