ZhenlongDai/ACPR huggingface dataset:
Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = input()
S = input()
T = S[0:3]
Q=T+T
if S in Q:
    print("Yes")
else:
    print("No")

Failing test case input:
1


Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
N = int(input())
S = input()
P = int(N/2)
T = S[0:int(P)]
Q=T+T
if S in Q:
    print("Yes")
else:
    print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = input()

if n % 2 == 1:
    print("No")
else:
    s_1 = s[1:int(n/2)]
    s_2 = s[int(n/2)+1:n]
    if s_1 == s_2:
        print("Yes")
    else:
        print("No")

Failing test case input:
6
dcabca

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
n = int(input())
s = input()

if n % 2 == 1:
    print("No")
else:
    c = int(n/2)
    s_1 = s[:c]
    s_2 = s[c:n]

    if s_1 != s_2:
        print("No")
    else:
        print("Yes")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
word = list(input())
center = math.ceil(len(word) / 2)
if "".join(word[:center]) == "".join(word[-center:]):
    print("Yes")
else:
    print("No")

Failing test case input:
6
c^cabc

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import math
n = int(input())
word = list(input())
center = math.floor(n / 2)
if n > 0 and n % 2 == 0 and "".join(word[:center]) == "".join(word[-center:]):
    print("Yes")
else:
    print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

def main():
    inNumber = input()
    try:
        wk_inNumber = int(inNumber)
    except Exception as e:
        print('No')
        return 0
    if wk_inNumber > 100:
        print('No')
        return 0

    inStr = input()
    if inStr.islower() == False:
        print('No')
        return 0

    charInstr = list(inStr)

    if wk_inNumber % 2 == 1:
        print('No')
        return 0

    if wk_inNumber != len(charInstr):
       print('No')
       return 0

    i = 0
    while i < wk_inNumber / 2 :
        j = int(wk_inNumber / 2 + i)
        if charInstr[i] != charInstr[j]:
            print(i)
            print(charInstr[i])
            print('No')
            return 0
        i += 1

    print('Yes')


main()


Failing test case input:
6
cac^bc

Expected output:
No


Actual output:
0
c
No


Fixed submission (verdict: Accepted):

def main():
    inNumber = input()
    inStr = input()

    try:
        wk_inNumber = int(inNumber)
    except Exception as e:
        print('No')
        return 0
    if wk_inNumber > 100 or wk_inNumber <= 0:
        print('No')
        return 0

    if inStr.islower() == False:
        print('No')
        return 0

    charInstr = list(inStr)

    if wk_inNumber % 2 == 1:
        print('No')
        return 0

    if wk_inNumber != len(charInstr):
       print('No')
       return 0

    i = 0
    while i < wk_inNumber / 2 :
        j = int(wk_inNumber / 2 + i)
        if charInstr[i] != charInstr[j]:
            print('No')
            return 0
        i += 1

    print('Yes')


main()
Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
S = str(input())
setty = set(S)
n = N / 2
if len(setty) % n == 0:
  print("Yes")
else:
  print("No")

Failing test case input:
6
cc^`c`

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
N = int(input())
S = str(input())
n = int(N/2)
if S[:n] == S[n:]:
  print("Yes")
else:
  print("No")

Problem: p02860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())
A = str(input())

if (N % 2 == 0):
  print("True")
else:
  print("No")


Failing test case input:
6
d`^c`c

Expected output:
No


Actual output:
True


Fixed submission (verdict: Accepted):
N = int(input())
A = str(input())

if (N % 2 == 0):
  if (A[:N
    print("Yes")
  else:
    print("No")
else:
  print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
S=str(input())
if N%2==1:
  print('No')
else:
  f=True
  h=int(N/2)
  if S[0:h-1]==S[h:N]:
    print('Yes')
  else:
    print('No')

Failing test case input:
6
abcabc

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
N=int(input())
S=str(input())
if N%2==1:
  print('No')
else:
  f=True
  h=int(N/2)
  for i in range(0,h):
    if S[i]!=S[h+i]:
      f=False
  if f==True:
    print('Yes')
  else:
    print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n= int(input())
s = input()


print(s[:int(n/2-1)])
if n%2 ==0:
    if s[:int(n/2)] == s[int(n/2):]:
        print('Yes')
    else:
        print('No')
else:
    print('No')

Failing test case input:
6
accabc

Expected output:
No


Actual output:
ac
No


Fixed submission (verdict: Accepted):
n= int(input())
s = input()

if n%2 ==0:
    if s[:int(n/2)] == s[int(n/2):]:
        print('Yes')
    else:
        print('No')
else:
    print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def seigi(s):
  lensp2 = int(len(s)/2)
  if lensp2==1:
    return "No"
  for si in range(lensp2):
    if s[si] != s[si + lensp2]:
      return "No"
  return "Yes"
  
s = input()
print(seigi(s))

Failing test case input:
6
daaecd

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
def seigi(s):
  lens = len(s)
  if lens%2==1:
    return "No"
  lensp2 = int(lens/2)
  for si in range(lensp2):
    if s[si] != s[si + lensp2]:
      return "No"
  return "Yes"
  
r = input()
s = input()
print(seigi(s))

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
li=list(input())
if n%2==0:
  t=int(n/2)
  a=li[:t]
  t=t-1
  b=li[:-t-1]
  for (i,j) in zip(a,b):
    if i!=j:
        print('No')
        break
  print('Yes')
else:
  print('No')

Failing test case input:
6
edacad

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
n=int(input())
li=list(input())
if n%2==0:
  t=int(n/2)
  a=li[:t]
  b=li[-t:]
  if a==b:
    print('Yes')
  else:
    print('No')
else:
  print('No')
Problem: p02860
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
N=int(input())
S=input()
if N%2==0 and all(a==b for a,v in zip(S,S[N:])):
       print("Yes")
else:
       print("No")


Failing test case input:
6
d^^c`c

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
N = int(input())
S=input()

if N%2==0 and all(a==b for a,b in zip(S,S[N
    print("Yes")
else:
    print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
total = int(input())
s = input()
 
if total%2 == 1:
  print("No")
else:
  if(s[:int(total/2)] is s[int(total/2):]):
    print("Yes")
  else:
      print("No")

Failing test case input:
6
abcabc

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
total = int(input())
s = input()
 
if total%2 == 1:
  print("No")
else:
  if(s[:int(total/2)] == s[int(total/2):]):
    print("Yes")
  else:
      print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
len = int(input())
str = input()
flag = True

if len % 2 == 1:
  flag = False
else:
  for i in range(int(len/2)):
    if str[i] != str[i + int(len / 2)]:
      flag = False

if flag:
  print("yes")
else:
  print("no")

Failing test case input:
1


Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
len = int(input())
str = input()
flag = True

if len % 2 == 1:
  flag = False
else:
  for i in range(int(len
    if str[i] != str[i + int(len 
      flag = False

if flag:
  print("Yes")
else:
  print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = input()

print(s[:int(n/2)])
print(s[int(n/2):])


if s[:int(n/2)] == s[int(n/2):]:
    print('Yes')
else:
    print('No')

Failing test case input:
1
y

Expected output:
No


Actual output:

y
No


Fixed submission (verdict: Accepted):
n = int(input())
s = input()


if s[:int(n/2)] == s[int(n/2):]:
    print('Yes')
else:
    print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = input()
if n%2==2:
    a = s[0:(n/2-1)]
    b = s[(n/2):]
    if a==b:
        print("Yes")
else:
    print("No")

Failing test case input:
6
cbacba

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
n = int(input())
s = input()
if n%2==0:
    a = s[0:(int(n/2))]
    b = s[(int(n/2)):n]
    if a==b:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
S = input()
 
if(N % 2 == 1):
    print("No")
nn = int(N / 2)
if(S[nn:] != S[:nn]):
    print('No')
else:
    print("Yes")

Failing test case input:
1


Expected output:
No


Actual output:
No
No


Fixed submission (verdict: Accepted):
N = int(input())
S = input()
 
if(N % 2 == 1):
    print("No")
    exit()
nn = int(N / 2)
if(S[nn:] != S[:nn]):
    print('No')
else:
    print("Yes")
Problem: p02860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())
S = input()

if S[:N] == S[N:]:
    print("Yes")
else:
    print("No")

Failing test case input:
6
abcabc

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
N = int(input())
S = input()

if S[:N
    print("Yes")
else:
    print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
if len(S)%2 == 1:
    print('No')
    exit()

if str(S[0:int(len(S)/2)]) == str(S[int(len(S)/2):len(S)]):
    print('Yes')
else:
    print('No')


Failing test case input:
6
abcabc

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
N = int(input())
S = input()
if len(S)%2 == 1:
    print('No')
    exit()

if S[0:int(len(S)/2)] == S[int(len(S)/2):len(S)]:
    print('Yes')
else:
    print('No')

Problem: p02860
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
N = int(input())
S = list(input())
a = int(N/2)
if N%2 == 0:
    a1 = S[:a]
    a2 = S[-a:]
    if a1 == a2:
        print("Yes")
else:
    print("No")

Failing test case input:
6
bafjde

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
N = int(input())
S = list(input())
a = int(N/2)
if N%2 == 0:
    a1 = S[:a]
    a2 = S[-a:]
    if a1 == a2:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = [str(x) for x in input()]
print(s)
if n % 2 == 1:
    print('No')
else:
    a = int(n/2)
    if s[0:a] == s[a:]:
        print('Yes')
    else:
        print('No')

Failing test case input:
6
c`_]cb

Expected output:
No


Actual output:
['c', '`', '_', ']', 'c', 'b']
No


Fixed submission (verdict: Accepted):
n = int(input())
s = [str(x) for x in input()]
if n % 2 == 1:
    print('No')
else:
    a = int(n/2)
    if s[0:a] == s[a:]:
        print('Yes')
    else:
        print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
S = str(input())
setty = set(S)
if len(setty) * 2 == N:
  print("Yes")
else:
  print("No")

Failing test case input:
6
ddacad

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
N = int(input())
S = str(input())
n = int(N/2)
if S[:n] == S[n:]:
  print("Yes")
else:
  print("No")
Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def judge1(Num,a):
    if Num%2 == 0:
        j = int(Num/2 - 1)
        b = []
        for i in range(j+1):
            b.append(a[i])
        c = b + b
        alpha = "".join(c)
        if alpha == a:
            print("yes")
        else:
            print("No")
    else:
        print("No")

N = int(input())
S = str(input())

judge1(N,S)

Failing test case input:
6
abcabc

Expected output:
Yes

Actual output:
yes


Fixed submission (verdict: Accepted):
def judge(N,str):
    a = list(str)
    b = []
    c = []
    if N%2 == 0:
        for k in range(int(N/2)):
            b.append(a[k])
            c.append(a[k+int(N/2)])
        if b == c:
            print("Yes")
        else:
            print("No")
    else:
        print("No")
N = int(input())
S = input()
judge(N,S)

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
I = [input() for i in range(2)]
sn = int(I[0])
ss = str(I[1])
if sn%2 == 1 :
    A = 'No' 
else:
    sl = int(sn/2) 
    H1 = ss[1:sl]
    H2 = ss[sl+1:]
    if  H1 == H2 :
        A = 'Yes'
    else:
        A = 'No'
print(A)

Failing test case input:
6
dcabca

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
I = [input() for i in range(2)]
sn = int(I[0])
ss = str(I[1])
if sn%2 == 1 :
    A = 'No' 
else:
    sl = int(sn/2) 
    
    if sl >= 2 : 
        H1 = ss[:sl]
        H2 = ss[sl:]
    
    
    elif sl == 1 :
        H1 = str(ss[0])
        H2 = str(ss[1])
    if  H1 == H2 :
        A = 'Yes'
    else:
        A = 'No'
print(A)
Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

def main():
    inNumber = input()

    try:
        wk_inNumber = int(inNumber[0])
    except Exception as e:
        print('整数値を入力してください')
        return 0
    if wk_inNumber > 100:
        print('100文字オーバー')
        return 0

    inStr = input()
    if inStr.islower() == False:
        print('英小文字を入力')
        return 0

    charInstr = list(inStr)

    if wk_inNumber % 2 == 1:
        print('No')
        return 0

    if wk_inNumber != len(charInstr):
       print('No')
       return 0

    i = 0
    while i < wk_inNumber / 2 :
        j = int(wk_inNumber / 2 + i)
        if charInstr[i] != charInstr[j]:
            print('No')
            return 0
        i += 1

    print('Yes')


main()


Failing test case input:
1
|

Expected output:
No


Actual output:
英小文字を入力


Fixed submission (verdict: Accepted):

def main():
    inNumber = input()
    inStr = input()

    try:
        wk_inNumber = int(inNumber)
    except Exception as e:
        print('No')
        return 0
    if wk_inNumber > 100 or wk_inNumber <= 0:
        print('No')
        return 0

    if inStr.islower() == False:
        print('No')
        return 0

    charInstr = list(inStr)

    if wk_inNumber % 2 == 1:
        print('No')
        return 0

    if wk_inNumber != len(charInstr):
       print('No')
       return 0

    i = 0
    while i < wk_inNumber / 2 :
        j = int(wk_inNumber / 2 + i)
        if charInstr[i] != charInstr[j]:
            print('No')
            return 0
        i += 1

    print('Yes')


main()

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
s = input()

i = int(r/2)
before = s[i:]
after = s[:i]

if before == after:
	print('Yes')
else:
  	print('no')


Failing test case input:
6
gdjfaa

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
r = int(input())
s = input()
 
i = int(r/2)
before = s[i:]
after = s[:i]
 
if before == after:
	print('Yes')
else:
  	print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = list(input())
s1=[]
if( n %2 != 0):
    print("No")
else:
    for i in range(0,int(n/2)):
        a = s.pop(0)
        s1.append(a)
if(s ==s1):
    print("Yes")
else:
    print("No")

Failing test case input:
1
|

Expected output:
No


Actual output:
No
No


Fixed submission (verdict: Accepted):
import sys
n = int(input())
s = list(input())
s1=[]
if( n %2 != 0):
    print("No")
    sys.exit()
else:
    for i in range(0,int(n/2)):
        a = s.pop(0)
        s1.append(a)
if(s ==s1):
    print("Yes")
else:
    print("No")
Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
S = input()
st = []
if N % 2 == 0:
    num = int(N/2)
    st = S[0:num:None]
    if st.replace(st,"").replace(st,"") == "":
        print("Yes")
        exit()
print("No")

Failing test case input:
6
ceaead

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
N = int(input())
S = input()
st = []
if N % 2 == 0:
    num = int(N/2)
    st = S[0:num:None]
    if S.replace(st, "", 2) == "":
        print("Yes")
        exit()
print("No")

Problem: p02860
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n = int(input())
s = input()

ans = "Yes" if (n & 1) and s[0:int(n / 2)] == s[int(n / 2):n] else "No"
print(ans)


Failing test case input:
6
cbacba

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
n = int(input())
s = input()

ans = "Yes" if (n ^ 1) and s[0:int(n / 2)] == s[int(n / 2):n] else "No"
print(ans)

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
n = int(input())
word = list(input())
center = math.ceil(n / 2)
if "".join(word[:center]) == "".join(word[-center:]):
    print("Yes")
else:
    print("No")

Failing test case input:
1


Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import math
n = int(input())
word = list(input())
center = math.floor(n / 2)
if n > 0 and n % 2 == 0 and "".join(word[:center]) == "".join(word[-center:]):
    print("Yes")
else:
    print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = input()
if len(b) % 2 == 0:
  if b[0:int(a / 2)] == b[int(a / 2):a]:
    print("Yes")
  else:
    pass
else:
  print("No")

Failing test case input:
6
cdabca

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
a = int(input())
b = input()
if len(b) % 2 == 0:
  if b[0:int(a / 2)] == b[int(a / 2):a]:
    print("Yes")
  else:
    print("No")
else:
  print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
t = [i for i in input()]

if n % 2 == 1:
    print('NO')
else:
    if t[:int(n/2)] == t[int(n/2):]:
        print('YES')
    else:
        print('NO')

Failing test case input:
6
cad^bc

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
n = int(input())
t = [i for i in input()]

if n % 2 == 1:
    print('No')
else:
    if t[:int(n/2)] == t[int(n/2):]:
        print('Yes')
    else:
        print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = list(str(input()))
if n == 1:
  print('No')
  exit()
for i in range(int(n/2)):
  print(i)
  if s[i] != s[int(n/2+i)] or n%2:
    print('No')
    exit()
print('Yes')

Failing test case input:
6
bafjde

Expected output:
No


Actual output:
0
No


Fixed submission (verdict: Accepted):
n = int(input())
s = list(str(input()))
if n == 1:
  print('No')
  exit()
for i in range(int(n/2)):
  if s[i] != s[int(n/2+i)] or n%2:
    print('No')
    exit()
print('Yes')
Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
S = input()
T = list()
for i in range(int(N / 2)):
    t = S[i]
    T.append(t)
y = 0
n = 0
for i in range(int(N / 2), N):
    for k in range(int(N / 2)):
        if T[k] == S[i]:
            y += 1
        else:
            n += 1
if N % 2 != 0:
    print('No')
elif y >= int(N / 2):
    print('Yes') 
else:
    print('No')       
   
     


Failing test case input:
6
ddacad

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
N = int(input())
S = input()
T = list()
for i in range(int(N / 2), N):
    t = S[i]
    T.append(t)
y = 0
n = 0
for i, k in zip(T, S):
    if i == k:
        y += 1
    else:
        n += 1
if N % 2 != 0:
    print('No')
elif y >= int(N / 2):
    print('Yes') 
else:
    print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input('N'))
S = input('S')

if S.count(S[0:int(N/2)]) > 1:
    print('Yes')
else:
    print('No')

Failing test case input:
6
b`^]db

Expected output:
No


Actual output:
NSNo


Fixed submission (verdict: Accepted):
N = int(input(''))
n = int(N / 2)
S = input('')
if S[:n] == S[n:]:
    print('Yes')
else:
    print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
S=input()
ans="NO"
if(N<2):
  ans="NO"
elif(N%2!=0):
  ans="NO"
else:
  middle = N/2
  T=S[0:int(N/2)]
  if(S==T+T):
    ans ="YES"
print(ans)

Failing test case input:
6
d^cacc

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
N=int(input())
S=input()
ans="No"
if(N<2):
  ans="No"
elif(N%2!=0):
  ans="No"
else:
  T=S[0:int(N/2)]
  if(S==T+T):
    ans ="Yes"
print(ans)

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = input()
 
if n%2 == 1:
  print("No")
 
a = s[int(n/2+1):]
b = s[:int(n/2+1)]
 
if a==b:
  print("Yes")
else:
  print("No")

Failing test case input:
1


Expected output:
No


Actual output:
No
No


Fixed submission (verdict: Accepted):
import sys

n = int(input())
s = input()
 
if n%2 == 1:
  print("No")
  sys.exit()
 
slise = (n/2)
a = s[:int(slise)]
b = s[int(slise):]
 
if a==b:
  print("Yes")
else:
  print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
S = list(map(str,input().split()))
if N % 2 == 0:
	T_1 = S[:int(len(S)/2)]
	T_2 = S[int(len(S)/2):]
	for i in range(len(T_1)):
	 if T_1[i] == T_2[i]:
	 	print("Yes")
	 else:
	 	print("No")
else:
	print("No")

Failing test case input:
6
afaidd

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
import sys
N = int(input())

S = list(input())
if N % 2 == 0:
	T_1 = S[:int(len(S)/2)]
	T_2 = S[int(len(S)/2):]
	
	
	for i in range(len(T_1)):
		if T_1[i] != T_2[i]:
			print("No")
			sys.exit()	
	print("Yes")
	sys.exit()
else:
	print("No")
Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = input()

flag = False
for i in range(int(n/2)):
    if s[:i] == s[i:i*2]:
        flag = True
if flag:
    print("Yes")
else:
    print("No")

Failing test case input:
6
edeafa

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
n = int(input())
s = input()

if n % 2 != 0:
    print("No")
else:
    if s[:int(n/2)] == s[int(n/2):]:
        print("Yes")
    else:
        print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
len = int(input())
str = input()

if len % 2 == 1:
  print("no")

flag = True
for i in range(int(len/2)):
  if str[i] != str[i + int(len / 2)]:
    flag = False

if flag:
  print("yes")
else:
  print("no")

Failing test case input:
6
bc]`b`

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
len = int(input())
str = input()
flag = True

if len % 2 == 1:
  flag = False
else:
  for i in range(int(len
    if str[i] != str[i + int(len 
      flag = False

if flag:
  print("Yes")
else:
  print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = input()

print("YNoes"[s[0:int(n/2)] != s[int(n/2):n]::2])


Failing test case input:
6
d^^c`c

Expected output:
No


Actual output:
Ne


Fixed submission (verdict: Accepted):
n = int(input())
s = input()

print("YNeos"[s[0:int(n/2)] != s[int(n/2):n]::2])

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
ans = s[0:int(len(s)/2)]
if 2*ans == s:
    print('Yes')
else:
    print('No')

Failing test case input:
6
abcabc

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
n = int(input())
s = input()
ans = s[0:int(len(s)/2)]
if 2*ans == s:
    print('Yes')
else:
    print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def judge1(Num,a):
    if Num%2 == 0:
        j = int(Num/2 - 1)
        b = []
        for i in range(j+1):
            b.append(a[i])
        c = b + b
        alpha = "".join(c)
        if alpha == a:
            print("yes")
        else:
            print("No")
    else:
        print("No")

N = int(input())
S = input()

judge1(N,S)

Failing test case input:
6
abcabc

Expected output:
Yes

Actual output:
yes


Fixed submission (verdict: Accepted):
def judge(N,str):
    a = list(str)
    b = []
    c = []
    if N%2 == 0:
        for k in range(int(N/2)):
            b.append(a[k])
            c.append(a[k+int(N/2)])
        if b == c:
            print("Yes")
        else:
            print("No")
    else:
        print("No")
N = int(input())
S = input()
judge(N,S)
Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=input()
if len(a)/2==1:
  print("No")
else:
  S=""
  N=len(a)/2
  for i in range(int(N)):
    S+=a[i]
    
  if S+S==a:
    print("Yes")
  else:
    print("No")

Failing test case input:
6
cbacba

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
n=input()
a=input()
if int(n)%2==1:
  print("No")
else:
  S=""
  N=len(a)/2
  for i in range(int(N)):
    S+=a[i]
  if S+S==a:
    print("Yes")
  else:
    print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys

input = sys.stdin.readline

N = int(input())
S = input()

if N % 2 != 0:
    print('No')
else:
    mid = int(N / 2)
    head = S[:mid]
    end = S[mid:]

    if head == end:
        print('Yes')
    else:
        print('No')

Failing test case input:
6
cbacba

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
import sys

input = sys.stdin.readline

N = int(input())
S = input().rstrip()

if N % 2 == 1:
    print('No')
else:
    mid = int(N / 2)
    head = S[:mid].rstrip()
    S2 = head + head
    
    
    if S == S2:
        print('Yes')
    else:
        print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
if len(a) % 2 == 1:
     print('No')
elif ''.join(list(a)[0:int(len(a)/2)]) == ''.join(list(a)[int(len(a)/2):]):
    print('Yes')
else:
    print('No')

Failing test case input:
6
cbacba

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
s = int(input())
a = input()
if s % 2 == 1:
     print('No')
elif ''.join(list(a)[0:int(len(a)/2)]) == ''.join(list(a)[int(len(a)/2):]):
    print('Yes')
else:
    print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
S = input()
H = list(S)
P = len(H)
oo = []
ll = []
if P%2 == 0:
  for a in range (0,int(N/2)):
    oo.append(H[int(a)])
    ll.append(H[int(a+N/2)])
  if oo == ll :
    print("Yes")
else :
  print("No")
    
 
    

  


Failing test case input:
6
accabc

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
N = int(input())
S = input()
H = list(S)
P = len(H)
oo = []
ll = []
if P%2 == 0:
  for a in range (0,int(N/2)):
    oo.append(H[int(a)])
    ll.append(H[int(a+N/2)])
  if oo == ll :
    print("Yes")
  else :
    print("No")
else :
  print("No")
Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
I = [input() for i in range(2)]
sn = int(I[0])
ss = str(I[1])
if sn%2 == 1 :
    A = 'No' 
else:
    sl = int(sn/2) 
    if sl >= 2 : 
        H1 = ss[:sl]
        H2 = ss[sl+1:]
    elif sl == 1 :
        H1 = ss[0]
        H2 = ss[1]
    if  H1 == H2 :
        A = 'Yes'
    else:
        A = 'No'
print(A)

Failing test case input:
6
abcabc

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
I = [input() for i in range(2)]
sn = int(I[0])
ss = str(I[1])
if sn%2 == 1 :
    A = 'No' 
else:
    sl = int(sn/2) 
    
    if sl >= 2 : 
        H1 = ss[:sl]
        H2 = ss[sl:]
    
    
    elif sl == 1 :
        H1 = str(ss[0])
        H2 = str(ss[1])
    if  H1 == H2 :
        A = 'Yes'
    else:
        A = 'No'
print(A)

Problem: p02860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N = int(input())
S = str(input())
 
if N % 2 == 0:
  NN = int(N/2)
  for i in range(0, NN):
    if S[i] != S[i+NN]:
      print('No')
  else:
    print('Yes')
    
else:
  print('No')

Failing test case input:
6
ecf`fa

Expected output:
No


Actual output:
No
No
No
Yes


Fixed submission (verdict: Accepted):
N = int(input())
S = str(input())
 
if N % 2 == 0:
  NN = int(N/2)
  for i in range(0, NN):
    if S[i] != S[i+NN]:
      print('No')
      break
  else:
    print('Yes')
    
else:
  print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
_ = input()
s = input()
mid = int((len(s)+1)/2)
if s[:mid] == s[mid:]:
    print("Yes")
else:
    print("NO")

Failing test case input:
6
ecff`a

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
_ = input()
s = input()
mid = int((len(s)+1)/2)
if s[:mid] == s[mid:]:
    print("Yes")
else:
    print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
S = str(input())
n = 0
A = []
B = []
if N % 2 == 0:
  n = int(N / 2)
  for i in range(0, n):
    A.append(S[i])
    B.append(S[n+i])

  if A == B:
    print('Yes')
else:
  print('No')

Failing test case input:
6
dceafa

Expected output:
No


Actual output:

Fixed submission (verdict: Accepted):
N = int(input())
S = str(input())
n = 0
A = []
B = []
if N % 2 == 0:
  n = int(N / 2)
  for i in range(0, n):
    A.append(S[i])
    B.append(S[n+i])

if A == B and N % 2 == 0:
    print('Yes')
else:
  print('No')

Problem: p02860
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
s=input()
if len(s)%2!=0:
    print("No")
    exit()
a=0
for i in range(1,int((len(s)+1)/2)):
    if s[i]!=s[int(len(s)/2)+i]:
        a=1
if a==0:
    print("Yes")
else:
    print("No")


Failing test case input:
6
cbacba

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
n=int(input())
s=input()
if n%2!=0:
    print("No")
    exit()
a=0
for i in range(int((n+1)/2)):
    if s[i]!=s[int((n+1)/2)+i]:
        print("No")
        exit()
print("Yes")
Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = input()

if n % 2 != 0:
    print('No')
else:
    t = s[0:int(n / 2 + 1)]
    if t + t == s:
        print('Yes')
    else:
        print('No')

Failing test case input:
6
cbacba

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
n = int(input())
s = input()

if n % 2 != 0:
    print('No')
else:
    t = s[0:int(n / 2)]
    if t * 2 == s:
        print('Yes')
    else:
        print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=input()
n=int(int(N)/2)
S=input()

T=S[0:n]
print(T)
if S==T+T:
    print("Yes")
else:
    print("No")

Failing test case input:
6
c``]cb

Expected output:
No


Actual output:
c``
No


Fixed submission (verdict: Accepted):
N=input()
n=int(int(N)/2)
S=input()

T=S[0:n]
if S==T+T:
    print("Yes")
else:
    print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
if(N % 2 != 0):
    print("no")

S = str(input())

char_list = list(S)

a = str(char_list[0])
n = int(N / 2)
b = str(char_list[n])

for i in range(1,n):
    a = str(a + char_list[i])
    b = str(b + char_list[i + n])

if(a == b):
    print("yes")
elif(a != b):
    print("no")


Failing test case input:
6
bc]]`c

Expected output:
No


Actual output:
no


Fixed submission (verdict: Accepted):
N = int(input())

S = str(input())

char_list = list(S)

a = str(char_list[0])
n = int(N / 2)
b = str(char_list[n])

for i in range(1,n):
    a = str(a + char_list[i])
    b = str(b + char_list[i + n])

if((a == b) and (N % 2 == 0)):
    print("Yes")
elif((a != b) or (N % 2 != 0)):
    print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
S = input()
 
if(N % 2 == 1):
    print("No")
nn = int(N / 2)
if(S[nn:] == S[:nn] and S[nn:] is S[:nn]):
    print("Yes")
else:
    print('No')

Failing test case input:
1


Expected output:
No


Actual output:
No
No


Fixed submission (verdict: Accepted):
N = int(input())
S = input()
 
if(N % 2 == 1):
    print("No")
    exit()
nn = int(N / 2)
if(S[nn:] != S[:nn]):
    print('No')
else:
    print("Yes")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
S = input()
if N % 2 == 1:
    print("No")

l = 0
r = int(N / 2)
while r < N:
    if S[l] != S[r]:
        print("No")
        exit()
    l += 1
    r += 1
    
print("Yes") 




Failing test case input:
1


Expected output:
No


Actual output:
No
Yes


Fixed submission (verdict: Accepted):
import sys
N = int(input())
S = input()
    
l = 0
r = int(N / 2)
f = False

if N % 2 == 1:
    f = True
    print("No")
        
while r < N and f == False:
    if S[l] != S[r]:
        print("No")
        f = True
        break
    l += 1
    r += 1
    
if f == False:
    print("Yes")
Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
S = input()
 
if(N % 2 == 1):
    print('No')
nn = int(N / 2)
if(S[nn:] is S[:nn]):
    print('Yes')
else:
    print('No')

Failing test case input:
1
~

Expected output:
No


Actual output:
No
No


Fixed submission (verdict: Accepted):
N = int(input())
S = input()
 
if(N % 2 == 1):
    print("No")
    exit()
nn = int(N / 2)
if(S[nn:] != S[:nn]):
    print('No')
else:
    print("Yes")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = input()
 
if n % 2 == 1:
    print('No')
 
n = int(n / 2)
s1 = s[:n]
 
if s1 + s1 == s:
    print('Yes')
else:
    print('No')

Failing test case input:
1
y

Expected output:
No


Actual output:
No
No


Fixed submission (verdict: Accepted):
N = int(input())
S = input()
 
if N % 2 == 1:
    print('No')
    exit()
 
N = int(N / 2)
s = S[:N]
 
if s + s == S:
    print('Yes')
else:
    print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = input()
 
if n%2 == 1:
  print("No")
 
a = s[int(n/2):]
b = s[:int(n/2)]
 
if a==b:
  print("Yes")
else:
  print("No")

Failing test case input:
1
~

Expected output:
No


Actual output:
No
No


Fixed submission (verdict: Accepted):
import sys

n = int(input())
s = input()
 
if n%2 == 1:
  print("No")
  sys.exit()
 
slise = (n/2)
a = s[:int(slise)]
b = s[int(slise):]
 
if a==b:
  print("Yes")
else:
  print("No")

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
S = input()

if N%2==1:
    print ('No')
    exit()

S1 = S[0:N]
if S == S[0:N]+S[0:N]:
    print ('Yes')
else:
    print('No')



Failing test case input:
6
cbacba

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
N = int(input())
S = input()

if N%2==1:
    print ('No')
    exit()

if S[:N
    print ('Yes')
else:
    print('No')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
s = list(str(input()))
for i in range(int(n/2)):
  if s[i] != s[int(n/2)+i] or n % 2:
    print('No')
    exit()
print('Yes')

Failing test case input:
1
}

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
n = int(input())
s = list(str(input()))
if n == 1:
  print('No')
  exit()
for i in range(int(n/2)):
  if s[i] != s[int(n/2+i)] or n%2:
    print('No')
    exit()
print('Yes')

Problem: p02860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    _len = int(input())
    _str = input()

    if _len > 0 or _len < 100 or _len % 2 : 
        print("No")
        return

    print(_len/2)
    a, b = _str[:_len/2], _str[_len/2:]

    print("Yes" if a == b else "No")


if __name__ == '__main__':
    main()

Failing test case input:
6
abcabc

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):

def main():
    _len = int(input())
    _str = input()

    if _len < 0 or _len > 100 or _len % 2 : 
        print("No")
        return
    idx = int(_len/2)
    a, b = _str[:idx], _str[idx:]

    print("Yes" if a == b else "No")


if __name__ == '__main__':
    main()
Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
def parseSpaceDivideIntArgs(arg):
    tmpArr = arg.split()
    ret = []
    for s in tmpArr:
        ret.append(int(s))
    return ret


def printSpaceDivede(arg):
    isFirst = True
    for s in arg:
        if not isFirst:
            print(' ')
        else:
            isFirst = False
        print(s)
    return


instr = input()


instrSpl = parseSpaceDivideIntArgs(instr)
instrSpl.sort()

print(instrSpl)



Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
[1, 3, 8]


Fixed submission (verdict: Accepted):
def parseSpaceDivideIntArgs(arg):
    tmpArr = arg.split()
    ret = []
    for s in tmpArr:
        ret.append(int(s))
    return ret


def getArr2SpaceDivideStr(arg):
    ret = ""
    isFirst = True
    for s in arg:
        if not isFirst:
            ret += ' '
        else:
            isFirst = False
        ret += str(s)
    return ret


instr = input()


instrSpl = parseSpaceDivideIntArgs(instr)
instrSpl.sort()

print(getArr2SpaceDivideStr(instrSpl))

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
a,b,c = map(int, input().split())
if a > b :
  a,b = b,a
if b > c :
  b,c = c,b
if a > c :
  a,c =c,a
print(a,b,c)



Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
3 1 8


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
 
if a > b:
    a, b = b, a
 
if b > c:
    b, c = c, b
 
if a > b:
    a, b = b, a
 
print(a, b, c)

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):


n = list(map(int, input().split()))
n.sort()

print(n)


Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
[1, 3, 8]


Fixed submission (verdict: Accepted):


n = list(map(int, input().split()))
n.sort()
n = map(str, n)

print(' '.join(n))

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
abc = input ()
num_abc = abc.split()
num_abc.sort()
print(num_abc)

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
1, 3, 8

Fixed submission (verdict: Accepted):
abc = input ()
num_abc = abc.split()
num_abc.sort()
print(num_abc[0],num_abc[1],num_abc[2])

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
x=input().split()
y=list(map(int,x))
a=y[0]
b=y[1]
c=y[2]
d=sorted([a,b,c])
for i in range(3):
    print(d[i],end = "???") 

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
1???3???8???

Fixed submission (verdict: Accepted):
x=input().split()
y=list(map(int,x))
a=y[0]
b=y[1]
c=y[2]
d=sorted([a,b,c])
print("{0} {1} {2}".format(d[0],d[1],d[2]))
Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
num = list(map(int,input().split()))
count = 0
while count < 2:
        for i in range(2):
                j = 0
                if num[i] > num[i+1]:
                        j = num[i]
                        num[i] = num[i+1]
                        num[i+1] = j
                else:
                        continue
        count += 1
print(num)

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
[1, 3, 8]


Fixed submission (verdict: Accepted):
num = list(map(int,input().split()))
count = 0
while count < 2:
        for i in range(2):
                j = 0
                if num[i] > num[i+1]:
                        j = num[i]
                        num[i] = num[i+1]
                        num[i+1] = j
                else:
                        continue
        count += 1
out = ''
for i in num:
        out += str(i) + ' '
print(out[:-1])

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
a,b,c = map(int,input().split())

if a < b and b < c:
    print(a,b,c,sep=' ')
elif a < b and b > c:
    print(a,c,b,sep=' ')
elif a > b and a < c:
    print(b,a,c,sep=' ')
elif a > b and a > c:
    print(b,c,a,sep=' ')
elif c < a and a < b:
    print(c,a,b,sep=' ')
elif c < a and a > b:
    print(c,b,a,sep=' ')



Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
3 1 8


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())

if a <= b and b <= c:
    print(a,b,c,sep=' ')
elif a <= c and c <= b:
    print(a,c,b,sep=' ')
elif b <= a and a <= c:
    print(b,a,c,sep=' ')
elif b <= c and c <= a:
    print(b,c,a,sep=' ')
elif c <= a and a <= b:
    print(c,a,b,sep=' ')
elif c <= b and b <= a:
    print(c,b,a,sep=' ')

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
a=input().split()
a.sort
print(a)



Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
3, 8, 1

Fixed submission (verdict: Accepted):
a=input().split()
a.sort()
print(a[0],a[1],a[2])

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
a, b, c = map(int, input().split())

li = sorted([a, b, c])
print("%(li[0])s %(li[1])s %(li[2])s")


Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
%(li[0])s %(li[1])s %(li[2])s


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

li = sorted([a, b, c])
print(f"{li[0]} {li[1]} {li[2]}")

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
N = [int(i) for i in input().split()]
N.sort()
print(N)

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
[1, 3, 8]


Fixed submission (verdict: Accepted):
N = [int(i) for i in input().split()]
N.sort()
print(" ".join(map(str,N)))
Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
lst = list(map(int, input().split(' ')))
for i, data in enumerate(sorted(lst)):
  if not len(lst) == i:
    print('{} '.format(i), end='')
  else:
    print('{}'.format(i), end='')

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
0 1 2 

Fixed submission (verdict: Accepted):
lst = list(map(int, input().split()))
for i, data in enumerate(sorted(lst)):
    if not i == len(lst)-1:
        print('{} '.format(data), end='')
    else:
        print('{}'.format(data))

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
a, b, c = map(int, input().split())
while b < c :
    b, c = c, b
    break
while a < b :
    a, b = b, a
    break
while b < c :
    b, c = c, b
    break
print(a, b, c)


Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
8 3 1


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
while a > b :
    a, b = b, a
    break
while b > c :
    b, c = c, b
    break
while a > b :
    a, b = b, a
    break
print(a, b, c)

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
a = [i for i in input().split()]
b = []

for i in range(len(a)):
   b = a.pop(a.index(min(a)))

print(" ".join(b))

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
8


Fixed submission (verdict: Accepted):
a = [i for i in input().split()]
b = []

for i in range(len(a)):
    b.append(a.pop(a.index(min(a))))

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

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
a, b, c = (int(x) for x in input().split())
if a > b:
	a, b = b, a
if b > c:
	b, c = c, b
print(a, b, c)


Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
3 1 8


Fixed submission (verdict: Accepted):
a, b, c = (int(x) for x in input().split())
if a > b:
	a, b = b, a
if a > c:
	a, c = c, a
if b > c:
	b, c = c, b
print(a, b, c)

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
nums = [int(i) for i in input().split()]
nums_sort = sorted(nums)
nums_str = map(str, nums)
print (' '.join(nums_str))

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
3 8 1


Fixed submission (verdict: Accepted):
nums = [int(i) for i in input().split()]
nums_sort = sorted(nums)
nums_str = map(str, nums_sort)
print (' '.join(nums_str))

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
a = list(map(int, input().split()))
print(a.sort())


Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
None


Fixed submission (verdict: Accepted):
a = list(map(int, input().split()))
a.sort()
print(" ".join(map(str, a)))

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
a,b,c=map(int,input().split(" "))
if a>b:
    a,b=b,a
elif b>c:
    b,c=c,b
    
print(str(a)+" "+str(b)+" "+str(c))


Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
3 1 8


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split(" "))
if a>b:
    a,b=b,a
if b>c:
    b,c=c,b
if a>b:
    a,b=b,a
    
print(str(a)+" "+str(b)+" "+str(c))
Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
a, b, c = map(int, input().split())
sort = sorted([a, b, c])
for i in sort:
    print(i)



Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
1
3
8


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
sort = sorted([a, b, c])
print(sort[0], sort[1], sort[2])

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
nums=list(map(int,input().split()))

if nums[2] >= nums[1]:
	a=nums[1]
	b=nums[2]
else:
	b=nums[1]
	a=nums[2]
	
if nums[0] <= a:
	min=nums[0]
	mid=a
	max=b
elif nums[0] < b:
	min=a
	mid=nums[0]
	max=b
else:
	min=a
	mid=b
	max=nums[0]

print("min,mid,max")

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
min,mid,max


Fixed submission (verdict: Accepted):
nums=list(map(int,input().split()))

if nums[2] >= nums[1]:
	a=nums[1]
	b=nums[2]
else:
	b=nums[1]
	a=nums[2]
	
if nums[0] <= a:
	min=nums[0]
	mid=a
	max=b
elif nums[0] <= b:
	min=a
	mid=nums[0]
	max=b
else:
	min=a
	mid=b
	max=nums[0]

print(min,mid,max)

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
a = [int(i) for i in input().split()]
" ".join(map(str,sorted(a)))

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:

Fixed submission (verdict: Accepted):
a = [int(i) for i in input().split()]
print(" ".join(map(str,sorted(a))))

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
print(sorted(map(int, input().split())))

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
[1, 3, 8]


Fixed submission (verdict: Accepted):
print(' '.join(map(str, sorted(map(int, input().split())))))

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
x = list(map(int, input().split()))
x.sort(reverse=True)
print(x)

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
[8, 3, 1]


Fixed submission (verdict: Accepted):
x = list(map(int, input().split()))
x.sort()
print(*x)

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
if __name__ == "__main__":
	a = [ i for i in input().split() ]
	a.sort(reverse=True)
	print(' '.join(a))

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
8 3 1


Fixed submission (verdict: Accepted):
if __name__ == "__main__":
	a = [ i for i in input().split() ]
	a.sort()
	print(' '.join(a))

Problem: p02393
Buggy submission (Python3, verdict: Wrong Answer):
x = input().split()

a = int(x[0])
b = int(x[1])
c = int(x[2])

if a <= b <= c:
    print('a, b, c')
elif a <= c <= b:
    print('a, c, b')
elif b <= a <= c:
    print('b, a, c')
elif b <= c <= a:
    print('b, c, a')
elif c <= a <= b:
    print('c, a, b')
else:
    print('c, b, a')

Failing test case input:
3 8 1

Expected output:
1 3 8

Actual output:
c, a, b


Fixed submission (verdict: Accepted):
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
if a <= b <= c:
    print(a, b, c)
elif a <= c <= b:
    print(a, c, b)
elif b <= a <= c:
    print(b, a, c)
elif b <= c <= a:
    print(b, c, a)
elif c <= a <= b:
    print(c, a, b)
else:
    print(c, b, a)