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):
import sys
import os
import bisect, collections, copy, itertools, math, string
def I(): return int(input())
def S(): return input()
def LI(): return list(map(int, input().split()))
def LS(): return list(input().split())



def solve():
	ABC = LI()
    
    def swap(i, j):
      tmp = ABC[i]
      ABC[i] = ABC[j]
      ABC[j] = tmp
      
    swap(0, 1)
    swap(0, 2)
    print(ABC[0], ABC[1], ABC[2])
    
    
	
if __name__ == '__main__':
	solve()


import sys
import os
import bisect, collections, copy, itertools, math, string
def I(): return int(input())
def S(): return input()
def LI(): return list(map(int, input().split()))
def LS(): return list(input().split())

def solve():
	ABC = LI()

	def swap(i, j):
		tmp = ABC[i]
		ABC[i] = ABC[j]
		ABC[j] = tmp

	swap(0, 1)
	swap(0, 2)

	print(ABC[0], ABC[1], ABC[2])
	
if __name__ == '__main__':
	solve()


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

X = line[0]
Y = line[1]
Z = line[2]

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


line = input().split

X = line[0]
Y = line[1]
Z = line[2]

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


line = input().split

X = line[0]
Y = line[1]
Z = line[2]

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

line = input().split

X = line[0]
Y = line[1]
Z = line[2]

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


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

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


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

print(Z,X,Y)

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

print(Z, X, Y)






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

print(Z, X ,Y)






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

print(Z, X, Y)






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

print(Z,X,Y)

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

Verdicts: 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):
S=input()
print(S[4]+' '+S[:2])

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):
%%time
import scipy.stats
from sklearn.datasets import load_breast_cancer
from sklearn.svm import LinearSVC
from sklearn.model_selection import GridSearchCV
from sklearn.model_selection import RandomizedSearchCV
from sklearn.model_selection import train_test_split
from sklearn.metrics import f1_score

import pandas as pd


df=pd.read_csv("ダミーデータ.csv",index_col=0)
X=df.iloc[:, 1:].values.tolist()
y=df["y"].values

print(X)


max_score = 0
SearchMethod = 0
LSVC_grid = {LinearSVC(): {"C": [10 ** i for i in range(-5, 6)],
                           "multi_class": ["ovr", "crammer_singer"],
                           "class_weight": ["balanced"],
                           "random_state": [i for i in range(0, 101)]}}
LSVC_random = {LinearSVC(): {"C": scipy.stats.uniform(0.00001, 1000),
                             "multi_class": ["ovr", "crammer_singer"],
                             "class_weight": ["balanced"],
                             "random_state": scipy.stats.randint(0, 100)}}


train_X, test_X, train_y, test_y = train_test_split(X, y, test_size=0.2, random_state=0)


for model, param in LSVC_grid.items():
    clf = GridSearchCV(model, param)
    clf.fit(train_X, train_y)
    pred_y = clf.predict(test_X)
    score = f1_score(test_y, pred_y, average="micro")

    if max_score < score:
        max_score = score
        best_param = clf.best_params_
        best_model = model.__class__.__name__


for model, param in LSVC_random.items():
    clf =RandomizedSearchCV(model, param)
    clf.fit(train_X, train_y)
    pred_y = clf.predict(test_X)
    score = f1_score(test_y, pred_y, average="micro")

    if max_score < score:
        SearchMethod = 1
        max_score = score
        best_param = clf.best_params_
        best_model = model.__class__.__name__

if SearchMethod == 0:
    print("サーチ方法:グリッドサーチ")
else:
    print("サーチ方法:ランダムサーチ")
print("ベストスコア:{}".format(max_score))
print("モデル:{}".format(best_model))
print("パラメーター:{}".format(best_param))


model = LinearSVC()
model.fit(train_X, train_y)
score = model.score(test_X, test_y)
print("")
print("デフォルトスコア:", score)

# coding: utf-8
# Your code here!

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

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

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

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

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())
if (A > 100) | (B > 100) | (C > 100):
    print("invalid")
elif (A < 1) | (B < 1) | (C < 1):
    print("invalid")
elif (B == A+1)&(C == B+1):
    print(C,B,A)
else:
    print(C,A,B)

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

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

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

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

Verdicts: Wrong Answer

Wrong Answer

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):
#include <bits/stdc++.h>

using namespace std;
typedef long long ll;

#define INF (long long)(1e9+7)



int main(void)
{
  int a,b,c;
  cin >>a >> b >> c;
  swap(a, b);
  swap(a, c);
  cout << a << " " << b << " " << c << endl;
}


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

list = input().split()


list[0], list[1] = list[1], list[0]


list[0], list[2] = list[2], list[0]

print(list)


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

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


total_hyou = 0
for i in hyou:
  total_hyou += i

基準クリア数
count = 0
for j in hyou:
  if j >= 1/4*M:
    count += 1
    

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


list = input().split()


list[0], list[1] = list[1], list[0]


list[0], list[2] = list[2], list[0]

print(list)



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

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


total_hyou = sum(hyou)

基準クリア数
count = 0
border = int(total_hyou/(4*M))
for j in hyou:
  if j >= border:
    count += 1
    

if count >= M:
  print("Yes")
else:
  print("No")


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

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


total_hyou = 0
for i in hyou:
  total_hyou += i

基準クリア数
count = 0
border = int(total_hyou*(1/4*M))
for j in hyou:
  if j >= border:
    count += 1
    

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


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

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


total_hyou = 0
for i in hyou:
  total_hyou += i

基準クリア数
count = 0
border = int(total_hyou/(4*M))
for j in hyou:
  if j >= border:
    count += 1
    

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


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

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


total_hyou = 0
for i in hyou:
  total_hyou += i

基準クリア数
count = 0
for i in hyou:
  if i >= 1/4*M:
    count += 1
    

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


list = input().split()
 

list[0], list[1] = list[1], list[0]
 

list[0], list[2] = list[2], list[0]    
              
print(' '.join(list))

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

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):
def main(cell):

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

    return pren
    


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

def main(cell):

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

    return pren
    


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

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

print(n[0],n[1],n[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):
s=input()
f="No"
if s[2]==s[3] and s[4]==s[5]:
    f="Yes"
if len(s)!=6:
    f="No"
print(f)

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(c,a,b)v

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

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

print(z,x,y)

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

print(z,x,y)


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):
a, b, c = 41, 59, 31
a, b, c = b, c, a
print(b,c,a)

a, b, c = 41, 59, 31
a, b, c = c, a, b
print(a,b,c)

a,b,c = 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):
#abc 161c
import math
n,k = map(int, input().split())
i = int(n/k)
ilow = i
iup = i+1
print(min(n,abs(n-k*iup),n-k*ilow))

#abc 161a
a,b,c = map(int, input().split())
# abc -> bac -> cab
print(str(c)+' '+str(a)+' '+str(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()
temp=A
A=B
B=temp
temp=A
A=C
C=temp

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

print(c,b,a)


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

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


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

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

print(a, b, c)


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

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

print(a, b, c)


Verdicts: Wrong Answer

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

total = sum(a)

count = 0

valid = total / (4 * m)

for i in a:
    if i > valid:
        count += 1

if count >= m:
    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):
k = int(input())
 
lunlun = []
 
end = False
while True:
    val = 0
    while True:
        val += 1
        val_list = [int(x) for x in list(str(val))]
        is_lun = True 
        for x in range(len(val_list) - 1):
            if abs(val_list[x] - val_list[x + 1]) <= 1:
                continue
            else:
                is_lun = False
        if is_lun:
            lunlun.append(val)
        else:
            continue
        if len(lunlun) == k:
            end = True
            break
    if end:
        break
 
print(lunlun[k - 1])

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

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

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

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: 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,b,a))

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

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

print([b,c,a])



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

print([c,a,b])



a,b,c=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, b, c = (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):
box = [input(),input(),input()]
X,Y,Z = box
print(Y,Z,X)

box = [input(),input(),input()]
X,Y,Z = box
print(Y,Z,X)

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

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

Verdicts: 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):
import fractions
N, K = map(int,input().split())
N = fractions.gcd(N,K)
min = N
for i in range(10**8):
    N = abs(N-K)
    if min > N:
        min = N
    if N == 0:
        min = 0
        break
print(min)

from bisect import bisect_left

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

#print(M)
A.sort()
#print(A)

limit = sum(A)/(4*M)
#print(limit)

n = bisect_left(A, limit)
#print(N-n-1)
if N-n-1 >= M:
    print("Yes")
else:
    print("No")


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

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


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

x,y,z=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(b,a,c)

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

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(' '))
tmp = x
x = y
y = tmp
tmp = x
x = z
z = tmp

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

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

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


a,b,c=map(int,input().split())
temp=a
a=b
b=temp
tamp=a
a=c
c=tamp
print(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):
L=list(map(int, input().split()))
A=L[0]
B=L[1]
C=L[2]

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

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

print(L)

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

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

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

print(' '.join(map(str, L)))

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

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


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

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

ina = list(map(int, input().split()))
 
print(ina[2], ina[0], ina[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):
from collections import deque


k = int(input())
d = deque([1,2,3,4,5,6,7,8,9])

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

print(a)




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

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

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

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

if (array[1] > array[2]):
  tmp = array[1]
  arrat[1] = array[2]
  array[2] = tmp

if (array[0] > array[2]):
  tmp = array[0]
  arrat[0] = array[2]
  array[2] = tmp

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

  

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

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

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

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

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

tmp = array[0]
array[0] = array[2]
array[2] = tmp


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

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

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

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

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

    print(X, Y, Z)


if __name__ == '__main__':
    main()

Verdicts: Wrong Answer

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

if a<b:
    a,b=b,a

if a%b == 0:
    print(0)
else:
    
    a=a%b
    
    while abs(a-b)<a:
        a=abs(a-b)
    print(a)


a,b,c = map(int,input().split())
a,b = b,a
a,c = c,a
print("{} {} {}".format(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 = int(input())
y = int(input())
z = int(input())
result = [z,x,y]
print(*result, sep=" ")

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

x = int(input())
y = int(input())
z = int(input())
print(str(z)+' '+str(x)+' '+str(y))

items,select = input().split()
x = [int(items) for x in input().split()]
for u in x:
    if u > (1 / (4 * int(select))*sum(x)):
        print("No")
        break
    else:
        print("Yes")
        break


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

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

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


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

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

A = X
B = Y
C = Z

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

import math

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

A = X
B = Y
C = Z

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

import math

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

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

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

A = X
B = Y
C = Z

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



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

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

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

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

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

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

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


print(X, Y, Z)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

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):
a = int(input())

N = [1,2,3,4,56,7,8,9]

for x in range(a):
  tmp = N[x]
  if tmp%10 != 0:
    N.append(tmp*10+tmp%10-1)
  N.append(tmp*10+tmp%10)
  if tmp%10 != 9:
    N.append(tmp*10+tmp%10+1)
print(N[a-1])
    
  
  

k = int(input())
lunlun = [0] * 100
lunlun[1] = [1, 2, 3, 4, 5, 6, 7, 8, 9]
i = 1

for i in range(9):
    n = len(lunlun[i])
    lunlun[i+1] = []
    for x in lunlun[i]:
        r = x%10
        if r > 0:
            lunlun[i+1].append(10*x + r-1)
        lunlun[i+1].append(10*x + r)
        if r < 9:
            lunlun[i+1].append(10*x + r+1)
    i += 1

for i in range(1, 11):
    for j in range(len(lunlun[i])):
        k -= 1
        if k == 0:
            print(lunlun[i][j])
            exit()


A = 1
B = 2
C = 3

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

print(A,B,C)

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

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

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

if __name__ == "__main__":
    main()


import sys
import math
import bisect

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

if __name__ == "__main__":
    main()


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

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


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


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

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







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


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


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

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






n = int(input())

def divisior(n):
    a = []
    i = 1
    while (i*i <= n):
        if n%i == 0:
            a.append(i)
            if (i*i == n): continue
            a.append(n//i)
        i += 1

    return a

ans = 0
a = divisior(n)

for x in a:
    if x == 1: continue
    tmp = n
    while (tmp%x == 0): tmp = tmp//x
    if (tmp%x == 1) : ans += 1

b = divisior(n-1)

ans = ans + len(b) -1

print(ans)





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


str_number_list = input().split()

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






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):
x, y, z = [int(w) for w in input().strip().split()]
temp = x
x = y
y = temp
temp = x
x = z
z = temp
print("{} {} {}".format(x,y,x))

x, y, z = [int(w) for w in input().strip().split()]
t = x
x = y
y = t
t = x
x = z
z = t
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):
N, M = map(int, input().split())
A = list(set((map(int, input().split()))))
vote = []
for Ai in A:
    if Ai >= (1 / (4 * M) * sum(A)):
        vote.append(Ai)
if len(vote) >= M:
    print("Yes")
else:
    print("No")

a = input()
b = a.split()
print(b[2] + " " + b[0] + " " + b[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):
# -*- coding: utf-8 -*-

a = int(input())

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

s = input()

# print("{} {}".format(a+b+c, s))
print(f'{a+b+c} {s}')

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

# a = int(input())

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



# print("{} {}".format(a+b+c, s))
# print(f'{a+b+c} {s}')
a,b,c = map(int, input().split())
a,b = b,a
a,c = c,a
print("{} {} {}".format(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= map(int, input("").split())
list=[a,b,c]
str=str(list)
print(str[-3:-1]+' '+str[-11:-9]+' '+str[-7:-5])

a,b,c= map(str, input("").split())
tem=a
a=c
c=b
b=tem
print(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,m=[int(x) for x in input().split()]
a=[int(x) for x in input().split()]

a.sort()
a.reverse()

ans="Yes"
for i in range(m):
    if a[i]<sum(a)/(4*m):
        ans="No"
        break;
print(ans)

a,b,c=[int(x) for x in 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(y, x, z)

x,y,z = 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):
import math

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

import math

S =  list(map(int,input().split()))
X = S[0]
Y = S[1]
Z = S[2]
S[0],S[1] = S[1],S[0]
S[0],S[2] = S[2],S[0]
print(S[0],S[1],S[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):
a,b=map(int,input().split())
c=list(map(int,input().split()))
required=sum(c)/(4*b)
count=0
for d in ｃ:
    if d>=required:
        count+=1
    else:
        break
print("YNeos"[count<b::2])

a,b=map(int,input().split())
c=list(map(int,input().split()))
required=sum(c)/(4*b)
count=0
for d in sorted(c,reverse=True):
  if d>=required:
      count+=1
  else:
      break
print("YNeos"[count<b::2])

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

subitem1 = a
a = b
b = subitem1

subitem2 = a
a = c
c = subitem2

print(a,b,c)

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=1
Y=2
Z=3

A=Y
B=X
C=A
A=Z

Print(A,B,C)

n=input().split()
m=input().split()

N=n[0]
Nn=n[1]
l = 0

for i in range(int(N)):
    if int(m[i])/(int(Nn)*4) >= 1:
        l+=1

if l >= int(Nn) :
    print("Yes")
else :
    print("No")


n=input().split()
X=n[0]
Y=n[1]
Z=n[2]

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

if __name__ == "__main__":
    main()

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

if __name__ == "__main__":
    main()

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()))
tot_votes = sum(A)
count = 0
for a in A:
    if(a>=tot_votes/(4*M)):
        count+=1
if(count>=M):
    print("Yes")
else:
    print("No")

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

Verdicts: Runtime Error

Accepted