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: Wrong Answer

Solution code:
A = 1
B = 2
C = 3

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

print(A,B,C)

Submission status: Wrong Answer

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

ram=X
X=Y
Y=ram

ram=X
X=Z
Z=ram


input_line=' '.join(input_line)
print(input_line)

Submission status: Wrong Answer

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

ram=X
X=Y
Y=ram

ram=X
X=Z
Z=ram

print(input_line)

Submission status: Wrong Answer

Solution code:


input_arr = input("")
input_arr = input_arr.split(" ")

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

print([b, c, a])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from sys import stdin, stdout
l = list(map(int, stdin.readline().rstrip().split(' ')))
f=[]
i=-1
n = 0
while(n<len(l)):
  f.append(l[i])
  i = i+1
  n= n+1
print(f)

Submission status: Wrong Answer

Solution code:
from sys import stdin, stdout
l = list(map(int, stdin.readline().rstrip().split(' ')))
print(l)
f=[]
i=-1
n = 0
while(n<len(l)):
  
  f.append(l[i])
  i = i+1
  n= n+1
print(f)

Submission status: Wrong Answer

Solution code:
import sys

l = []

for line in sys.stdin:
    new_list = [int(elem) for elem in line.split()]
    l.append(new_list)
    print(l)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(a)

Submission status: Wrong Answer

Solution code:
print('Hello')

Submission status: Wrong Answer

Solution code:
#複数の入力
input_list = input().split( )
print(input_list[1],input_list[2],input_list[0])

Submission status: Wrong Answer

Solution code:
#複数の入力
input_list = input().split( )
input_list = sorted(input_list)
print(input_list[0],input_list[1],input_list[2])

Submission status: Wrong Answer

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

n = int(i[0])
m = int(i[1])
a = [int(i2) for i2 in i[2::]]
m2 = sum(a) // (4 * m)
c = sum([1 if i3 >= m2 else 0 for i3 in a])
print("Yes" if c >= m else "No", end='')

Submission status: Wrong Answer

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

n = int(i[0])
m = int(i[1])
a = [int(i2) for i2 in i[2::]]
m2 = sum(a) // (4 * m)
c = sum([1 if i >= m2 else 0 for i in a])

if c>=m:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(''.join(s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(B,A,C)
print(C,B,A)

Submission status: Wrong Answer

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

A,C = C,A

print(A,B,C)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def swap(a,b):
  temp = a
  a = b
  b = temp
 
ls = input().split(" ")
swap(ls[0],ls[1])
swap(ls[0],ls[2])
print(("{} {} {}").format(ls[0],ls[1],ls[2]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l = input().split()
for i in range(len(l)-1, -1, -1):
  print(l[i], end = " ")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X,Y,Z = 1,2,3

A = X
B = Y
C = Z

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

print(A, B, C)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def abc(x,y,z):
    A = z
    B = x
    C = y
    return A,B,C

print(abc(1,2,3))

Submission status: Wrong Answer

Solution code:
def abc(x,y,z):
    A = x
    B = y
    C = z

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def displayContent():
  input_string = input()
  abc = input_string.split()
  abc[0], abc[1] = abc[1], abc[0]
  abc[0], abc[2] = abc[2], abc[0]
  result = " ";
  for i in abc:
    result - result+i+" ";
  print(result)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b ,c = 1,2,3
a, b = b,a 
a,c = c,a

print(a,b,c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b ,c = 1,2,3
a, b = b,a 
a,c = c,a

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
str = input()# sを取得し、strに値を入れる
print(str) #出力：s
print(str[0])

str_list = str.split()

print(str_list)

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

Submission status: Wrong Answer

Solution code:
data=input().split()
a=int(data[0])
b=int(data[1])
a=a%b
print(a)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(a, b, c)

Submission status: Wrong Answer

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

print(c,b,a)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np

box = np.array(input("XYZ:").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: Wrong Answer

Solution code:
from collections import defaultdict, deque
import sys
import heapq
import bisect
import math
import itertools
import string
import queue
import copy
import time
# import numpy as np
from fractions import gcd

sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7

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

def lcm(x, y): return (x * y) // gcd(x, y)


X, Y, Z = inp_list()
# print(Z, X, Y)
X, Y = Y, X
Y, Z = Z, Y
print(X, Y, Z)

Submission status: Wrong Answer

Solution code:
import sys

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

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

print(b)

Submission status: Wrong Answer

Solution code:
x, y, z = [int(w) for w in input().strip().split()]
temp = x
x = y
y = temp
temp = x
x = z
z = temp
print("{} {} {}".format(x,y,x))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
nums = list(map(int, input().split()))
n = nums[0]
k = nums[1]

n  = n % k

print(min(n, k - n))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print('X Y Z')

Submission status: Wrong Answer

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: Wrong Answer

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

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

Submission status: Wrong Answer

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

print(Z,Y,X)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = 1
b = 2
c = 3

d = a
a = b
b = d

e = a
a = c
c = e

print(a, b, c)

Submission status: Wrong Answer

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

a,b,c = b,a,c

a,b,c = c,a,b

print('a b c')

Submission status: Wrong Answer

Solution code:
a = 1
b = 2
c = 3

d = a
a = b
b = d

d = a
a = c
c = d

print(a, b, c)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
xa, yb, zc = map(int, input().split())
print(zc, yb, xa)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
array = list(map(int, input().split()))
tmp = array[0]
array[0] = abs(array[0] - array[1])
while (tmp >= array[0]):
  tmp = array[0]
  array[0] = abs(array[0] - array[1])
print(tmp)

Submission status: Wrong Answer

Solution code:
A,B,C = map(int,input().split())
if (A > 100) | (B > 100) | (C > 100):
    print("invalid")
elif (A < 1) | (B < 1) | (C < 1):
    print("invalid")
elif (B == A+1)&(C == B+1):
    print(C,B,A)
else:
    print(C,A,B)

Submission status: Wrong Answer

Solution code:
X=int()
Y=int()
Z=int()
1<=X,Y,Z<=100
X,Y=Y,X
X,Z=Z,X

Submission status: Wrong Answer

Solution code:
A,B,C = map(int,input().split())
if (B == A+1)&(C == B+1):
    print(C,B,A)
elif (A,B,C > 100):
    print("invalid")
elif(A, B,C) < 1:
    print("invalid")
else:
    print(C,A,B)

Submission status: Wrong Answer

Solution code:
X=int()
Y=int()
Z=int()
1<=X,Y,Z<=100
X,Y=Y,X
Y,Z=Z,Y

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main(cell):

    n=cell[0]
    k=cell[1]
    risk=int(abs(n/k))
    n=n-k*(risk-2)
    pren=n
    while 2>0:
        n=abs(n-k)
        if n >pren:
            break
        else:
            pren=n

    return pren
    


cell=list(map(int,input().split()))
pren=main(cell)
print(pren)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:


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

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

Submission status: Wrong Answer

Solution code:
list=list(map(int,input().split()))
x=list[0]
k=list[1]
if list[0]>=list[1]:
  x=x%k
z=k-x
if z >=x:
  print(x)
else:
  print(z)

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
print(0)

Submission status: Wrong Answer

Solution code:
a=list(map(int, input().split()))
l=[a[0]]
if a[0]==1 or a[1]==1:
    print(0)
    exit()
def d(a,b):
    if a<b:
        if min(l)!=b-a:
            l.append(b-a)
            d(b-a,a)
        else:
            print(b-a)
            exit()
    elif b<a:
        if min(l)!=a-b:
            l.append(a-b)
            d(a-b,b)
        else:
            print(a-b)
            exit()
    else:
        print(0)
        exit()
d(a[0],a[1])

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

Solution code:
import random
X=random.randrange(100)
Y=random.randrange(100)
Z=random.randrange(100)

A=X
B=Y
C=Z

tmp=A
A=B
B=tmp

tmp=A
A=C
C=tmp

print(A, B, C)

Submission status: Wrong Answer

Solution code:
def main(cell):

    n=cell[0]
    k=cell[1]
    pren=n
    while 2>0:
        n=abs(n-k)
        if n >pren:
            break
        else:
            pren=n

    return pren
    


cell=list(map(int,input().split()))
pren=main(cell)
print(pren)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
list=list(map(int,input().split()))
x=list[0]
k=list[1]
y=abs(x-k)
while y>=k:
  y=abs(y-k)
z=k-y
if z >=y:
  print(y)
else:
  print(z)

Submission status: Wrong Answer

Solution code:
import math

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

A = X
B = Y
C = Z

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

Submission status: Wrong Answer

Solution code:
k = input().split()
s = int(k[0])
j = int(k[1])
v = s + 1
while v > s:
    v = s
    s = abs(s - j)

v = s
s = abs(s-j)
if v > s:
  print(s)
else:
  print(v)

Submission status: Wrong Answer

Solution code:
A,B,C = map(int,input().split())
if (B == A+1)&(C == B+1):
    print(C,B,A)
else:
    print(C,A,B)

Submission status: Wrong Answer

Solution code:
X, Y, Z = input().split()
A = X
B = Y
C = Z
# swap the contents of the boxes A and B
temp = B
B = A
A = temp
print(A + " " + B + " " + C)
# swap the contents of the boxes A and C
swapAC = C
C = A
A = swapAC
print(A + " " + B + " " + C)

Submission status: Wrong Answer

Solution code:
li= list(map(int, input().split()))
li.insert(1, li.pop(0))
li.insert(2, li.pop(0))
li.insert(0, li.pop(1))
print(li)

Submission status: Wrong Answer

Solution code:
X = 1
Y = 2
Z = 3
A = X
B = Y
C = Z
temp = X
A = Z
C = Y
B = temp
print(A, B, C);

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#coding: utf-8
XYZ = input().split()
XYZ[0],XYZ[1],XYZ[2] = XYZ[1],XYZ[2],XYZ[0]
print(' '.join(map(str, XYZ)))

Submission status: Wrong Answer

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

A = X
B = Y
C = Z

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

Submission status: Wrong Answer

Solution code:
a = 1
b = 2
c = 3

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

print(a, b, c)

Submission status: Wrong Answer

Solution code:
k = input().split()
s = int(k[0])
j = int(k[1])
v = 10000000000
while v > s:
    v = s
    s = abs(s - j)
     
print(s)

Submission status: Wrong Answer

Solution code:
box = ['X', 'Y', 'Z']
box[0], box[1] = box[1], box[0]
box[0], box[2] = box[2], box[0]
for s in box:
    print(s, end=' ')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
### var
arr = input('> ').split()

T1_A=arr[0]
T1_B=arr[1]
T1_C=arr[2]

### mod 1
T2_A=T1_B
T2_B=T1_A
T2_C=T1_C
### mod2
T3_A=T2_C
T3_B=T2_B
T3_C=T2_A

A=T3_A
B=T3_B
C=T3_C

print(A)
print(B)
print(C)

Submission status: Wrong Answer

Solution code:
box = [100, 100, 100]
box[0], box[1] = box[1], box[0]
box[0], box[2] = box[2], box[0]
for s in box:
    print(s, end=' ')

Submission status: Wrong Answer

Solution code:
li= list(map(int, input().split()))
li.insert(1, li.pop(0))
li.insert(2, li.pop(1))
print(li)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
array = list(map(int, input().split()))
tmp = array[0]
array[0] = array[2]
array[2] = tmp

tmp = array[0]
array[0] = array[1]
array[1] = tmp

print("%d %d %d" %(array[0], array[1], array[2]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = 1, 2, 3
a, b, c = b, a, c
a, b, c = c, b, a
print(a,b,c)

Submission status: Wrong Answer

Solution code:
box = [100, 100, 100]
box[0], box[1] = box[1], box[0]
box[0], box[2] = box[2], box[0]
print(box)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N, M, *A = map(int, open(0).read().split())
vote = sum(A) / (4*M)
num = list(filter(lambda x: x > vote, A))
num = len(num)
if num >= M:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = 41, 59, 31
a, b, c = c, a, b
print(a,b,c)

Submission status: Wrong Answer

Solution code:
A = "1"
B = "2"
C = "3"

# swap the contents of the boxes A and B
temp = B
B = A
A = temp
print("Swap the contents of boxes A and B ", A + " " + B + " " + C)
# swap the contents of the boxes A and C
swapAC = C
C = A
A = swapAC
print("Swap the contents of boxes A and C ", A + " " + B + " " + C)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = 1
y = 2
z = 3
temp = x
x = z
z = y
y = temp

print(x, y, z)

Submission status: Wrong Answer

Solution code:
import math

S =  list(map(int,input().split()))
X = S[0]
Y = S[1]
Z = S[2]
S[0],S[1] = S[1],S[0]
S[0],S[2] = S[2],S[0]
print(S)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import random
X = random.randint(1,100)
Y = random.randint(1,100)
Z = random.randint(1,100)

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

Submission status: Wrong Answer

Solution code:
a, b, c = 41, 59, 31
a, b, c = b, c, a
print(b,c,a)

Submission status: Wrong Answer

Solution code:
a,b,c= map(int, input("").split())
list=[a,b,c]
str=str(list)
print(str[-3:-1]+' '+str[-11:-9]+' '+str[-7:-5])

Submission status: Wrong Answer

Solution code:
def swapper(X,Y,Z):
      X, Y, Z = Z, X, Y
      return X,Y,Z

Submission status: Wrong Answer

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

c = e[1]
d = e[2]
e[1]= d
e[2]= c
for i in range(3):
  print(e[i], end =" ")

Submission status: Wrong Answer

Solution code:
box = [1, 2, 3]
box[0], box[1] = box[1], box[0]
box[0], box[2] = box[2], box[0]
print(box)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = [0,0,0]
  
tmp = n[0]
n[0] = n[1]
n[1] = tmp

tmp = n[0]
n[0] = n[2]
n[2] = tmp

for i in range(len(n)):
  print(n[i])

Submission status: Wrong Answer

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

print(num[2]+num[0]+num[1])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

copy = x[0]
x[0] = x[2]
x[2] = copy

print(" ".join([str(i) for i in x]))

Submission status: Wrong Answer

Solution code:
num = input().split()
list = [1,1,1]

list[0] = num[2]
list[1] = num[0]
list[2] = num[1]

print(list)

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
#n = int(stdin.readline().rstrip())
l = list(map(int, stdin.readline().rstrip().split()))
#A, B, C = map(int, stdin.readline().rstrip().split())
a=l[0]
b=l[1]
c=l[2]

print("c a b")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i = input()
list1 = i.split()
tmpA = list1[0]
list1[0] = list1[1]
list1[1] = tmpA

tmpA = list1[0]
list1[0] = list1[2]
list1[2] = tmpA

Submission status: Wrong Answer

Solution code:
nums = [int(e) for e in input().split()]
a = nums[0]
nums[0] = nums[2]
nums[2] = a
print(str(nums[0]) + ' ' + str(nums[1]) + ' ' + str(nums[2]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = list(map(int, input().split()))
x.sort() 
for i in range(len(x)): 
    print(x[i], end = ' ')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

print(x, y ,z)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
A = list(map(int, input().split()))
A.sort()
print(' '.join(map(str, A)))

Submission status: Wrong Answer

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

X, Y, Z = 1,2,3
K_Y = Y
K_X = X
X = Z
Y = K_X
Z = K_Y

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

Submission status: Wrong Answer

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

L=[str(a) for a in num_list]
L = ' '.join(L)
print(L)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(x, y ,z)

Submission status: Wrong Answer

Solution code:
usr = input()
print(usr[2], usr[0], usr[1])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

answer=[0]*3
answer[0]=c
answer[1]=a
answer[2]=b
print(answer)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

tmp = a
a = b
b = tmp

tmp = a
a = c
c = a

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

Submission status: Wrong Answer

Solution code:
def swapper(X,Y,Z):
      X=int(X)
      Y=int(Y)
      Z=int(Z)
      b=X
      X=Z
      Z=b
      c=Z
      Z=Y
      Y=c
      return X, Y, Z

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(*sorted(list(map(int,input().split()))))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = list(input())
r = []
r = a[4] + ' ' + a[0] +' '+ a[2]
print(r)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(x, y ,z)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

tmp = A
A = C
C = tmp

print(A, end="")
print(B, end="")
print(C, end="")

Submission status: Wrong Answer

Solution code:
x = 5
y = 10
temp = x
x = y
y = temp
print('The value of x after swapping: {}'.format(x))
print('The value of y after swapping: {}'.format(y))

Submission status: Wrong Answer

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

print(A)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

L[0]=B
L[1]=A
A=L[0]
B=L[1]

L[0]=C
L[2]=A
A=L[0]
C=L[2]

print(L)

Submission status: Wrong Answer

Solution code:
def swapper(X,Y,Z):
      X=int(X)
      Y=int(Y)
      Z=int(Z)
      b=X
      X=Z
      Z=b
      return X, Y, Z

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(y,z,x)

Submission status: Wrong Answer

Solution code:
def main():
    N = [int(_) for _ in input().split()]
    tmpA = N[0]
    tmpB = N[0]
    tmpC = N[0]
    print(N[2], N[1], N[0]) 



if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

print(Z,Y,X)

Submission status: Wrong Answer

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(c, b ,a)

Submission status: Wrong Answer

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: Wrong Answer

Solution code:
S=input()
print(S[4]+' '+S[:2])