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

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

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

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

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

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

s1, s2, s3 = input().split()
print("{} {} {}".format(s3, s1, s2))

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

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, M = map(int, input().split())
A = map(int, input().split())

a = sorted(A, reverse=True)

b = a[M-1]
c = sum(a)
d = 4*M
e = c//d

if a[M-1]>e:
  print('Yes')
else:
  print('No')

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

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

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):
a,b,c=input()
print(c+" "+a+""+b)

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

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

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

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

Verdicts: Wrong Answer

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

a,b,c = map(int,input().split())
list = [c,a,b]
print(*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):
a = input().split(' ')
for i in a[::-1]:
  print(i,end=' ')

a = input().split(' ')
print(a[-1],end=' ')
print(a[0],end=' ')
print(a[1])

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):
import sys
input = sys.stdin.readline


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

intlist = list(map(int, input().split()))
newlist = sorted(intlist, reverse=True)[:M]

if newlist[M-1] > ( sum(intlist) / (4 * M) ):
  print ("Yes")
else:
  print ("No")
  

import sys
input = sys.stdin.readline
 

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 = list(map(int,input().split()))
def swap(x,y):
  tmp=x
  x=y
  y=temp
  return(x,y)
A,B = swap(A,B)
A,C = swap(A,C)
print(X,Y,Z)

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

def swap(x,y):
  tmp=x
  x=y
  y=temp
  return(x,y)

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


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)

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):
print(input()[::-1])

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

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

a = list(map(int,input().split()))
a[0],a[1],a[2] = a[2], a[0], a[1]
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):
k = int(input())
a = [1, 2, 3, 4, 5, 6, 7, 8, 9]

for i in range(k):
    if a[i] % 10 != 0:
        a.append(10*a[i] + a[i] % 10 - 1)
    a.append(10*a[i] + a[i] % 10)
    if a[i] % 10 != 9:
        a.append(10*a[i] + a[i] % 10 + 1)

print(a[k - 1])


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


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

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

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


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

new_list = []
new_list.append(num_list[2])
new_list.append(num_list[0])
new_list.append(num_list[1])

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

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=int(input())
v=0

v=x
x=y
y=v

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

n,m=map(int,input())
N=n
x=0
z=m
for i in range(100):
    x=N-z
    x=abs(x)
    z=x*z
    N=min(N,x,n)

print(N) 

n,m=map(int,input().split())
a=list(map(int,input().split()))
 
toku = sum(a) // (4*m)
 
a.sort(reverse=True)
if a[m-1] >= toku:
  print("Yes")
  else:
  print("No")

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

v=x
x=y
y=v

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

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

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):
def swap(a,b):
    temp=a
    a=b
    b=temp


lis=[]
for i in range(3):
    a=int(input())
    lis.append(a)
for j in lis:
    print(j,end=" ")
    
swap(a[1],a[2])
swap(a[1],a[3])
for j in lis:
    print(j)



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

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

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):
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

X,Y,Z = map(int, readline())

A,B,C = Z,X,Y

print(A,B,C)

import sys
 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
 
X,Y,Z = map(int, readline().split())
 
A,B,C = Z,X,Y
 
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):
for _ in range(1):
	a,b,c = map(int,input().split())
    print(c,a,b)


for _ in range(1):
	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())
print("z", "x", "y")

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

x = input().split()
x[0], x[1], x[2] = x[2], x[0], x[1]
print(x[0]+' '+x[1]+' '+x[2])

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, stdout
l = list(map(int, stdin.readline().rstrip().split(' ')))
print(l)
f=[]
i=-1
for n in (0,(len(l)-1)):
    f[n] = l[i]
    i = i+1
print(l)

n, m = map(int, input().split())
l = []
ans = 1
if(n%m == 0):
  ans=0
else:
  for x in (0,1000000000000000000):
    n = abs(n%m)
    l.append(n)
  l.sort()
  ans = min(m-n,l[0])
print(ans)

import sys

l = []

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

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)

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)

import sys

l = []

for line in sys.stdin:
  new_list = [int(elem) for elem in line.split()]
  l.append(new_list)
f=[]
i=1
for x in range(0,len(l)):
  
  f[x] = l[-i]
  i++
print(f)

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,sep=" ")


Verdicts: Runtime Error

Runtime Error

Wrong Answer

Wrong Answer

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

mo = n%k

mok = abs(mo - k)

if mo <= mok:
    print(mo)
else:
    print(mok)

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


X,Y,Z = list(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):
x, y, z = (int(i) for i in input().split())

print('f{z} {x} {y}')


x, y, z = (int(i) for i in input().split())

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

X, Y, Z = list(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(c, b ,a)

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


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

a,b,c=map(int, input.split())
print(str(z)+" "+str(x)+" "+str(y))

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

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

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

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

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

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

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

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

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

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

Verdicts: Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

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):
a,b,c=num(input(),split())
  
  print(c,a,b)

num1 = int(input().split())
num2 = list(map(int, input().split())    
            
num2 = sorted(num2, reverse=True)
           
N=num1[0]
M=num1[1]
A=num2[M-1]

if A<N/M/4:
    print('No')
else:
    print('Yes')


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

print(c,a,b)

num=input()
num=num.split()

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

num=input()
num=num.split()

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


Verdicts: Runtime Error

Runtime Error

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):
mport sys
input = sys.stdin.readline

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

x = a
a = c
c = x

print(a, b, c)

import sys
input = sys.stdin.readline

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

x = a
a = c
c = 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):
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)


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


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(0), li(1), li(2))


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


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

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


Verdicts: Wrong Answer

Runtime Error

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

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

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)

k = int(input())
i = 1 
c = 0 

if k > 13000:
    i = 34454557
    c = 13000

while c < k:
  j = str(i)
  if i < 13: 
    c = c + 1 
    #print(c, i)
  else: 
    x = 0
    for n in range(len(j)-1): 判定を行う
      if abs(int(j[n]) - int(j[n+1])) > 1:
        x = 1
        break
    if x == 0:
      c = c + 1
      #print(c, i)
  i = i + 1 

print(i-1)

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

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

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

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


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)


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


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
# swap the contents of the boxes A and C
swapAC = C
C = A
A = swapAC
print(A, B, C)


Verdicts: Wrong Answer

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, M = map(int,input().split())
A = list(map(int,input().split()))
S = sum(A)
cnt = 0 

for a in A:
    if a >= S / (4*M):
        cnt += 1
    if cnt >= M:
        print("Yes")
    else:
        print("No")

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

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

print(Z,X,Y)

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 = int(input()).split(' ')
temp = 0
temp = A
A = B
B = temp
temp = A
A = C
C = temp
print(f'{A} {B} {C}')

A,B,C = input()
A, B = B, A
A, C = C, A

print(f'{A} {B} {C}')



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

print(f'{A} {B} {C}')



A,B,C = [int(i) for i in input().split(' ')]


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

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



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):
n,k=map(int,input().split())
t=n%k
n=min(t,k)
print(n)

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

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


x,y,z=list(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):
data=input()
x = data.split(" ")
tmp=x[0]
x[0]=x[2]
x[2]=tmp
print(x[0],x[1],x[2])

data=input()
x = data.split(" ")
tmp=x[2]
x[2]=x[1]
x[1]=x[0]
x[0]=tmp
print(x[0],x[1],x[2])

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

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

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

tmp = list(map(int, input("input some numbers.").split()))
print(tmp[2], tmp[0], tmp[1], sep=' ')

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


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):
n, m = map(int, input().split())
l = list(map(int,input().split()))
l = sorted(l)[::-1]
check = l[m - 1] > (sum(l) / 4 / m)
print("Yes" if check else "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,K = list(map(int, input().split()))


if N == 0:
    print(N)

initialK = K
while True:
    if N <= initialK/2:
        print(N)
        break
    K = N%K
    if K <= initialK/2:
        print(K)
        break


N,K = list(map(int, input().split()))


if N == 0:
    print(N)

initialK = K

if N <= initialK/2:
    print(N)
while True:
    K = N%K
    if K <= initialK/2:
        print(K)
        break

X,Y,Z = list(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):
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]))


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

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 = list(map(int,input().split()))
L = list(map(int,input().split()))#len(L) == N

p = sum(L)/(4*M)

cnt = 0
for i in range(N):
    if L[i] >= p:
        cnt += 1
if cnt >= M:
    print('Yes')
else:
    print('No')

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

l_1 = []
l_1.append(l_0[1])
l_1.append(l_0[0])
l_1.append(l_0[2])

l_2 = []
l_2.append(l_1[2])
l_2.append(l_1[1])
l_2.append(l_1[0])

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

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

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

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

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

Verdicts: Runtime Error

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):
a, b, c = [int(s) for s in input().split()]

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

print(' '.join([a, b, c])

a, b, c = input().split()
 
a, b = b, a
a, c = c, a
 
print(' '.join([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,b,c=(int(x) for x in input().split())

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


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

print(str(c)+" "+str(a)+" "+str(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()))
s=sorted(A,reverse=True)[m-1]
t=sum(A)//(4*m)+1
if s>=t:
    ans='Yes'
else:
    ans='No'
print(ans)

X,Y,Z=input().split()
N=[X,Y,Z]
print(N[2],N[0],N[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):
import sys
a, b, c = int(sys.stdin.readline().split())

print(c, a, b)

import sys
a, b, c = map(int, sys.stdin.readline().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 = [int(input()) for a in range(3)]
print(Z, X, Y)

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

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

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

print(Z,X,Y)

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

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

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

print(Z, X, Y)


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


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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

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

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

A = sum(a)
a.sort(reverse=True)
print(a)

if a[m-1] >= A/(4*m):
    print("No")
else:
    print("Yes")

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

A = sum(a)
a.sort(reverse=True)

if a[m-1] >= A/(4*m):
    print("Yes")
else:
    print("No")

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

a1 = b
b1 = a
a2 = c
c1 = a1

print(a2, b1, c1)

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

print(z, x, y)

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

print(z,x,y)

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

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

x,y,z=map(int,input().split())
print(z,x,y)
#print("{} {}".format(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())
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):
C,A,B = map(int, input().split())
print(A,B,C)


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

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

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

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

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

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

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

s = input().split()

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

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):
lst = map(int, input().split())
print(' '.join(map(str, sorted(lst))))

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

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()))
S=sum(a)
p=0
for i in range(n):
       if a[i]>=S/(4*m):
              p+=1
if p>=m:
       print("Yes")
else:
       print("No")


s= input().split(' ')
s[0]=X
s[1]=Y
s[2]=Z
d=X
a=Y
b=d
d=a
a=c
c=d

print(a, b, c)



X,Y,Z= input().split()
d=X
a=Y
b=d
d=a
a=Z
c=d

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):
i,j,k = list(map(int , input().split()))
print(j,k,i)


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


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

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

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

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,m=list(map(int,input().split()))
a=list(map(int,input().split()))
a.sort(reverse=True)

cnt=0
for j in range(n):
    cnt+=a[j]

b=[]
for i in range(n):
    if a[i]>(cnt*(1/(4*m))):
        b.append(a[i])

if len(b) > m:
    print("Yes")
else:
    print("No")

a,b,c=list(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):
import fractions

n, k = map(int, input().split())
if (n > abs(n - k)):
    n = fractions.gcd(n, k)
while n > abs(n - k):
    n = abs(n - k)
if n == k:
    print('0')
else:
    print(n)

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

Verdicts: Runtime Error

Accepted