TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: 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

Submission attempts (in order):
n,k=map(int,input().split())
a=n
b=(n//k)
c=n-k*b
d=c-k

  
if abs(c)>abs(d):
    print(str(abs(d)))
else:
    print(str(abs(c)))


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


print(a,b,c)

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
def is_lunlun(i):
    list_i = list(str(i))
    for j in range(len(list_i)-1):
        if int(list_i[j]) == 0:
            if int(list_i[j+1]) not in [1,9,0]:
                return False
        elif int(list_i[j]) == 1:
            if int(list_i[j+1]) not in [0,1,2]:
                return False
        elif int(list_i[j]) == 9:
            if int(list_i[j+1]) not in [8,9]:
                return False
        else:
            if abs(int(list_i[j]) - int(list_i[j+1])) > 1:
                return False
    return True



if __name__ == '__main__':
    k = int(input())
    lunlun = (i for i in range(3234566667) if is_lunlun(i))
    for count, i in enumerate(lunlun):
        if count == k:
            print(i)
            break

        

if __name__ == '__main__':
    a,b,c = raw_input().split(" ")
    a,b = b,a
    a,c = c,a
    stdout(a, b, c)

if __name__ == '__main__':
    a,b,c = input().split(" ")
    a,b = b,a
    a,c = c,a
    print(a, b, c)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
X=input("")
Y=input("")
Z=input("")
if 1<=X<=100and 1<=Y<=100 and 1<=Z<=100 :
  print(Y, X, Z)
  print(Z, Y, x)

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

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
N, M = map(int, input().split())
item_vote = list(map(int, input().split()))

total_vote = sum(item_vote)
item_vote = sorted(item_vote, reverse=True)
boder = total_vote/4*M
if item_vote[M-1] >= boder:
    print('Yes')
else:
    print('No')

N, M = map(int, input().split())
item_vote = list(map(int, input().split()))
total_vote = sum(item_vote)
item_vote = sorted(item_vote, reverse=True)
boder = total_vote/4*M
if item_vote[M-1] >= boder:
    print('Yes')
else:
    print('No')

X, Y, Z = map(int, input().split())
X, Y = Y, X
X, Z = Z, X
print(str(X)+' '+str(Y)+' '+str(Z))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
n, k = map(int, input().split())
if n >= k:
  print(n%k)
 
else:
  print(min(n, abs(k-n)))

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

n, m = map(int, input().split())
a = sorted(list(map(int, input().split())), reverse=True)
num = int(sum(a)/(4*m))
if a[m-1] < num:
  print('No')
else:
  print('Yes')

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

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
N,A,B = input().split()
print(B,A,N)

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

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

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
x, y, z = map(int, input().split())
print(y, z, x)

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

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
x,y,z=map(int,input().split())
t=x
x=y
y=t
t=x
x=z
z=t
print(x,y,z,sep="")


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

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
x = input()

xs = x.split(" ")

print(xs)

xs[0], xs[1] = xs[1], xs[0]
xs[0], xs[2] = xs[2], xs[0]

print(" ".join(xs))

x = input()

xs = x.split(" ")

xs[0], xs[1] = xs[1], xs[0]
xs[0], xs[2] = xs[2], xs[0]

print(" ".join(xs))

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):

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


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

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
X,Y,Z=map(int,input().split(" "))

print(Z,Y,X)


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

print(Z,X,Y)


Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
x,y,z=map(int,input().split())
print(y,z,x)

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


Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
from sys import stdin
a,b,c = map(int,input().split())
print("{} {} {}".format(c,b,a))

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

from sys import stdin
N,M = map(int,input().split())
A=  [int(x) for x in stdin.readline().rstrip().split()]
m = max(A)
s = sum(A)
if ( s / (4 * M) < m :
  print("no")
else:  
  print("yes")

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

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

Verdicts: Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
x,y,z=map(int,input().split())
print(z,y,x)


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

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
A,B,C = map(int, input().split())
print('{}{}{}'.format(C,A,B))

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

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
num_list = input()

temp = num_list[1] # temporarily save B
num_list[1] = num_list[0] # put A in B
num_list[0] = temp # put B in A

temp = num_list[0] # temporarily save A
num_list[0] = num_list[2] # put C in A
num_list[2] = temp # put A in C

print(num_list)

num_list = input()
num_list = num_list.split(' ')

temp = num_list[1] # temporarily save B
num_list[1] = num_list[0] # put A in B
num_list[0] = temp # put B in A
 
temp = num_list[0] # temporarily save A
num_list[0] = num_list[2] # put C in A
num_list[2] = temp # put A in C
 
print(' '.join(num_list))

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
x,y,z=map(int, input().split)
print("{} {} {}".format(z,x,y))

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

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
a, b, c = map(int, input().sprit())
print('{} {} {}'.format(c, a, b))

a, b, c = map(int, input().sprit())
print('{} {} {}'.format(c, a, b))

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
X,Y,Z=map(int,input())
print(str(Z)+' '+str(X)+' '+str(Y))

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

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

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
a,b,c = map(int,input().split())
print("{}{}{}".format(c,a,b)

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

print(c,a,b)

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
X,Y,Z=map(int,input().split())
A=[Z,Y,X]
print(*A)

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

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
x, y, z = map(int, input().split())
print(z, y, x)

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

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
X, Y, Z = input()
A = X
B = Y
C = Z

B2 = A
A2 = B

A3 = C
C3 = A2

print(A3, B2, C3)

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

B2 = A
A2 = B

A3 = C
C3 = A2

print(A3, B2, C3)

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
a,b,c = list(map(int,input().split()))
print(c+" "+a+" "+b)

A = list(map(int,input().split()))
print(A[2]+" "+A[0]+" "+A[1])

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


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
arr = map(int, input().split())
print(arr[2], arr[0], arr[1])

arr = map(int, input().split())
print(arr[2], arr[0], arr[1])

arr = list(map(int, input().split()))
print(arr[2], arr[0], arr[1])


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
n,m = map(int,input().split())
A = list(map(int, input().split()))
x = sum(A)/(4*m)
count = 0
for a in A:
    if a >= x:
        count += 1
if count >= m:
    print("Yes")
else:
    print("No")


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

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
N=int(input())
K=int(input())
l=abs(N//K)
p=K*l
for i in range(1,10000):
	if abs(N-(K*(l+1)))<abs(N-p):
		p=p+1
print(abs(N-p))

N,K=map(int,input().split())
l=abs(N//K)
p=K*l
for i in range(1,10000):
	if abs(N-(K*(l+i)))<abs(N-p):
		p=p+i
print(abs(N-p))

#!/usr/bin/env python3
import sys


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


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  # type: int
    Y = int(next(tokens))  # type: int
    Z = int(next(tokens))  # type: int
    solve(X, Y, Z)

if __name__ == '__main__':
    main()


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
a = int(input())
b = int(input())
c = int(input())
print(a,b,c)

temp = a
a = c
c = b
b = temp 

print(a,b,c)

def swapThree(a, b, c):  
    a = a + b + c  
   
    b = a - (b+c) 
   
    c = a - (b+c) 
   
    a = a - (b+c) 
      
    print("After swapping a =",a,", b =",b,", c =",c) 
  
if __name__ == '__main__': 
    a = int(input())
    b = int(input())
    c = int(input())
  
    print("Before swapping a =",a,", b =",b,", c =",c) 
  
    swapThree(a, b, c)

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

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

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
a,b,c = list(map(int,input().split()))

print(c,b,a)


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

print(c,a,b)

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
x = int(input())
y = int(input())
z = int(input())

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

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

x,y,z = list(map(int,input().split()))
 
def swap(a,b):
    temp = a
    a = b
    b = temp
    return (a,b)
 
x,y = swap(x,y)
x,z = swap(x,z)
print(x,y,z)

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
usr = input()
print(usr[2], usr[0], usr[1])

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

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
n, m = map(int, input().split())
A = list(map(int, input().split()))
borderline = sum(A) / (4 * m)

print('Yes' if sorted(A, reverse=True)[m-1] >= borderline else 'No')


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

print(z, x, y)

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
a = input()
b = input()
c = input()

d = a
a = b
b = d

d = a
a = c
c = d

print(a, b, c)

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

d = a
a = b
b = d

d = a
a = c
c = d

print(a, b, c)

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
x, y, z = map(int, input().split())
lis = [x, y, z]
print("".join(lis))

a, b, c = map(int, input().split())
lis = [c, a, b]
print(" ".join(lis))

x, y, z = input().split()
lis = [z, x, y]
print(" ".join(lis))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
x,y,z = input()
print(z,y,x)

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

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
print(" ".join(list(map(str,input().split()))))

print(" ".join([map(str,input().split())]))

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

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
x,y,z=input().split()
print(z,y,x)

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

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

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
a, b, c = int(input().split())
if a >= 1 and a <= 100:
    if b >= 1 and b <= 100:
        if c >= 1 and c <= 100:
            a, b = b, a
            a, c = c, a
print(a, b, c)

a = int(input())
b = int(input())
c = int(input())
if a >= 1 and a <= 100:
    if b >= 1 and b <= 100:
        if c >= 1 and c <= 100:
            a, b = b, a
            a, c = c, a
print(a, b, c)

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


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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
x, y, z=int(input(),input(),input())
x,y=y,x
x,z=z,x
print(str(x) + " " + str(y) + " " + str(z) )

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

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

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
A = input("X=?")
B = input("Y=?")
C = input("Z=?")
x = A
A = B
B = x
x = A
A = C
C = x
print(str(A)+" "+str(B)+" "+str(C))

A = input("X=?")
B = input("Y=?")
C = input("Z=?")
x = A
A = B
B = x
x = A
A = C
C = x
print(%d %d %d %(A,B,C))

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

print(' '.join(map(str, [A,B,C])))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
import sys
sys.setrecursionlimit(10**6)
MOD = 1000000007

k = int(input())
number = 9

ans = 0
for i in range(10,10**6):
    check = 'OK'
    l = len(str(i))
    keta = list(str(i))
    for j in range(l-1):
        if abs(int(keta[j]) - int(keta[j+1])) <= 1:
            pass
        else:
            check = 'NG'
    if check == 'OK':
        number += 1
        if number == k:
            ans = i%MOD
            break
if k <= 9:
    print(k)
else:
    print(ans%MOD)


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


Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
N, K = map(int, input().split())


if N < K:
    print(N)
else:
    N = abs(N - (N // K + 1) * K)
    if abs(N-K) <= N:
        print(abs(N-K))
    else:
        print(N)

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

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

print(A,B,C)

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
a = input().split(' ')
b = input().split(' ')
a = [int(a) for a in a]
b = [int(b) for b in b]

b.sort(reverse=True)
v = sum(b)

ans = 'Yes'

if b[a[1]-1] / v < 1 /( 4 * a[1]):
    ans = 'No'
            
print(ans)

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

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
n,m= map(int,input().split())
l = list(map(int,input().split()))
s = sum(l)
r=s/(4*m)
cnt=0
for i in l:
    
    if i>=r:
        cnt=cnt+1

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

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

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
N,M = map(int,input().split())
A = list(map(int,input().split()))

ans = 0

for i in range(N):
  if A[i] >= 1/4*M:
    ans += 1
  else:
    pass
  
  
  

if ans >= M:
  print('Yes')
  
else:
  print('No')
  
  


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

print(Z,X,Y)

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
A B C=map(int,input().split())
print(C,A,B)

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

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
N, M = input().split()
A = 0.25
B = (0.25 / int(M))

C = map(int, input().split())
D = B * sum(C)



E = sum(x > int(D) for x in C)
print(E)

# -*- coding: utf-8 -*-

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





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

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
n, k = map(int, input().split())
ans = n - k
if k == 1 or n == 1:
    print(1)
    quit()
if n % k == 0:
    print(0)
    quit()
if n < k:
    print(n)
    quit()

print(min(ans, k - n%k))


n, k = map(int, input().split())
ans = n - k
if k == 1 or n == 1:
    print(1)
    quit()
if n % k == 0:
    print(0)
    quit()
if n < k:
    print(n)
    quit()

print(min(ans, k - n%k))


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


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
n,k = map(int,input().split())
print(min(n%k,abs(k-n%k)))

import math
n,k = map(int,input().split())
print(min(n%k,k-n%k))

import math
n,k = map(int,input().split())
x = n//k
if(n<k):
    x = k//n
    print(min(abs(k*x-n),abs(k*(x+1)-n)))
else:
    print(min(abs(k*x-n),abs(k*(x+1)-n)))

import math
n,k = map(int,input().split())
x = math.ceil(n/k)
if(n<k):
    x = math.ceil(n/k)
    print(min(n,abs(k*x-n)))
else:
    print(abs(k*x-n))

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
import sys

sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline


def solve():
    x, y, z = map(int, rl().sprit())
    print(z, x, y)
    

if __name__ == '__main__':
    solve()


import sys

sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline


def solve():
    a = input()
    if a[2] == a[3] and a[4] == a[5]:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    solve()


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


if __name__ == '__main__':
    solve()


Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
w

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

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
N, K = map(int,input().split())
if K == 1 or N == 0 or N == K:
    print(0)
    exit()
elif K == 0:
    print(N)
    exit()
elif N == 1:
    print(1)
    exit()
else:
    l = []
    ans = N
    for i in range(max(N,K)):
        ans = abs(ans - K)
        l.append(ans)
        if i >= 1:
            if ans in l:
                print(min(l))
                exit()
    print(min(l))

N, K = map(int,input().split())
if K == 1 or N == 0 or N == K:
    print(0)
    exit()
elif K == 0:
    print(N)
    exit()
elif N == 1:
    print(1)
    exit()
else:
    l = []
    ans = N
    for i in range(max(N,K)):
        ans = abs(ans - K)
        l.append(ans)
    print(min(l))

N, K = map(int,input().split())
if K == 1 or N == 0 or N == K or N%K==0:
    print(0)
    exit()
elif K == 0 or K > N:
    print(N)
    exit()
elif N == 1 or N == K-1 or K == N-1:
    print(1)
    exit()
elif N > K:
    ans = (N//K) + 1
    res = abs(N - (K*ans))
    print(res)
    exit()

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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

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


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


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

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
X Y Z = list(map(int,input().split()))

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

x, y, z = map(str, input().split())
print(y + " " + z + " " + x)

1 2 3

li = input().split()

print(li[3] + " " + li[2] + " " + li[1])

X, Y, Z = map(str, input().split())
print(Y+" "+Z+" "+X)

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

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

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
X=int(input())
Y=int(input())
Z=int(input())
print(Z, X, Y)

X,Y,Z=input().split()
print(Z,X,Y)

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
a,b,c=map(int,input().split())
print(c+" "+b+" "+a)

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

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

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
a = list(map(int,input().split()))
a.reverse()
print(*a)

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

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
x,y,z=map(int,input().split())

print(y,z,x)

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

print(z,x,y)



Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
A = int(input())
B = int(input())
C = int(input())

A_b = B
B_a = A

A_c = C
C_a = A_b
print(A_c,B_a,C_a)

A = int(input())
B = int(input())
C = int(input())

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

print(A,B,C)

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

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


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
X=int(input())
Y=int(input())
Z=int(input())
print(Z)
print(X)
print(Y)

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

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
li = int(input().split())
list = []
list.append(li[2])
list.append(li[0])
list.append(li[1])
print(list)

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

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

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
a,b=input().split()
a=int(a)
b=int(b)
y=[10**18]
f=0
for i in range (10**18):
    x=a-b
    if x<0:
        y.append(x*(-1))
        a=x*(-1)
    else :
        y.append(x)
        a=x
    if y[i]<=y[i+1]:
        f=y[i]
        break

print(f)

a,b,c=input().split()
print(c+" "+a+" "+b)

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
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])

box = []
box = input().rstrip()
print(box[2] box[0] box[1])

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


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
X, Y, Z = [int(i) for i in input().split()]
print("{} {} {}".format(Z, Y, X))

X, Y, Z = [int(i) for i in input().split()]
print("{} {} {}".format(Z, X, Y))

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
n = [map(int,input().split())]
for i in range(2):
  n.pop(i)
  n.append(n[i])
  
for i in range(3):
  print(n[i],end='')

n = list(map(int,input().split()))
m = []
for i in range(2):
    m.append(n[i])
    n.pop(i)
    n.append(m[i])
  
for i in range(3):
  print(n[i],'',end='')

n = list(map(int,input().split()))
m = []
for i in range(2):
    m.append(n[i])
    n.pop(i)
    n.append(m[i])
  
print(*n)

 = list(map(int,input().split()))
m = []
for i in range(2):
    m.append(n[i])
    n.pop(i)
    n.append(m[i])
  
for i in range(3):
  print(str(n[i]) + ' ',end='')

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

n = list(map(int,input().split()))
m = []
for i in range(2):
    m.append(n[0])
    n.pop(0)
    
n.append(m[0])
n.append(m[1])
  
print(*n)

Verdicts: Runtime Error

Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
N_List = list(map(int,input().split()))
N_List.append(N_List.pop(0))
print(" ".join(map(str,N_List)))

N_List = list(map(int,input().split()))
N_List.insert(0,N_List.pop(2))
print(" ".join(map(str,N_List)))

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
X, Y, Z = input()
print(Z, X, Y)

X, Y, Z = input().split()
print(Z, X, Y)

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
# -*- coding: utf-8 -*-

N,M = map(int,input().split())
A = list(map(int,input().split()))

cutoff = sum(A)/(4*M)
count_pop = sum(i >= cutoff for i in A)


if count_pop<M :
    print("No")
else:
    print("Yes")

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

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
1 2 3

a = list(map(int, input().split()))
print(str(a[2])+' '+str(a[0])+' '+str(a[1]))

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
X,Y,Z = input().split()
print(Z X Y)

X,Y,Z = input().split()
print(Z,X,Y)

Verdicts: Runtime Error

Accepted
Problem: 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

Submission attempts (in order):
a,b,c = map(int, input().split())

tmp = a
a = b
b = tmp

tmp = a
a = c
c = a

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

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

tmp = a
a = b
b = tmp

tmp = a
a = c
c = tmp

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

Verdicts: Wrong Answer

Accepted
Problem: 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

Submission attempts (in order):
n = list(map(int, input().split()))

x, y = (n[1], n[0])
n[0], n[1] = (x, y)

x, z = (n[2], n[0])
n[0], n[2] = (x, z)

print(n)

n = list(map(int, input().split()))
     
x, y = (n[1], n[0])
n[0], n[1] = (x, y)
     
x, z = (n[2], n[0])
n[0], n[2] = (x, z)
     
print(" ".join(list(map(str, n))))

Verdicts: Wrong Answer

Accepted