ZhenlongDai/ACPR huggingface dataset:
Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
l = []
for i in range(2, 1000):
    l += [a**i for a in range(int(1000**(1/i)+1)) if a**i <= x]
print(max(l))

Failing test case input:
1357

Expected output:
1331


Actual output:
961


Fixed submission (verdict: Accepted):
x = int(input())
l = []
for i in range(1, 33):
    l += [i**a for a in range(2, 10) if i**a <= x]
print(max(l))

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
X = int(input())
L = [1]
for x in range(2, math.floor(math.sqrt(1000))+1):
  while True:
    x *= x
    if x > X:
      break
    L.append(x)

L = sorted(L)
print([x for x in L if x <= X][-1])


Failing test case input:
524

Expected output:
512


Actual output:
484


Fixed submission (verdict: Accepted):
import math
X = int(input())
L = [1]
for v in range(2, math.floor(math.sqrt(X))+1):
  x = v
  while True:
    x *= v
    if x > X:
      break
    L.append(x)
print(max(L))

Problem: p03352
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
X=int(input())
a=math.sqrt(X)
b=int(a)
ans=1
for i in range (2,b+1):
    for j in range(1,10):
        if b**j <=X <b**(j+1):
            ans=max(ans,b**j)
            break

print(ans)

Failing test case input:
1357

Expected output:
1331


Actual output:
1296


Fixed submission (verdict: Accepted):
import math
X=int(input())
a=math.sqrt(X)
b=int(a)
ans=1
for i in range (2,b+1):
    for j in range(2,10):
        if i**j <=X <i**(j+1):
            ans=max(ans,i**j)
            break

print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
ans = 1
a = -1
if x < 4:
    print(1)
else:
    for i in range(int(x**(1/2)),0,-1):
        j = 2
        while a <= x:
            ans = max(ans,a)
            a = i**j
            j += 1
    print(ans)

Failing test case input:
524

Expected output:
512


Actual output:
484


Fixed submission (verdict: Accepted):
x = int(input())
ans = 1
if x < 4:
    print(1)
else:
    for i in range(2,int(x**(1/2)+1)):
        j = 2
        a = -1
        while a <= x:
            ans = max(ans,a)
            a = i**j
            j += 1
    print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
input=sys.stdin.readline

x = int(input())

ans = 1
for b in range(1,x+1):
    for p in range(2,5):
        m = b**p
        if m <= x:
            ans = max(ans, m)
print(ans)


Failing test case input:
250

Expected output:
243


Actual output:
225


Fixed submission (verdict: Accepted):
import sys
input=sys.stdin.readline

x = int(input())

ans = 1
for b in range(1,x+1):
    for p in range(2,11):
        m = b**p
        if m <= x:
            ans = max(ans, m)
print(ans)
Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
B = list(range(31, 0, -1))
X = int(input())

p = 2
res = 0
for b in B:
    p = 2
    cp = p
    while True:
        tmp = b ** p
        if tmp > X:
            break
        else:
            res = max(res,tmp)
            if b == 1: break
            cp = p
            p += 1

Failing test case input:
485

Expected output:
484


Actual output:

Fixed submission (verdict: Accepted):
def function(X):
    B = list(range(31, 0, -1))
    res = 0
    for b in B:
        p = 2
        cp = p
        while True:
            tmp = b ** p
            if tmp > X:
                break
            else:
                res = max(res,tmp)
                if b == 1: break
                cp = p
                p += 1
    return res

X = int(input())
print(function(X))

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

import math

x = int(input())

maxcount = int(math.sqrt(x))

result = 0
for i in range(1,maxcount+ 1):
    j = 0
    while True:
        tmp = i ** (maxcount - j)
        j += 1
        if tmp > x:
            continue
        else:
            break
    print(tmp)
    if tmp > result and tmp <= x:
        result = tmp

print(result)

Failing test case input:
610

Expected output:
576


Actual output:
1
512
243
256
125
216
343
512
81
100
121
144
169
196
225
256
289
324
361
400
441
484
529
576
576


Fixed submission (verdict: Accepted):

import math

x = int(input())

maxcount = int(math.sqrt(x))

result = 0
for i in range(1,maxcount+ 1):
    j = 0
    while True:
        tmp = i ** (maxcount - j)
        j += 1
        if tmp > x:
            continue
        else:
            break
    if tmp > result and tmp <= x:
        result = tmp

print(result)

Problem: p03352
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):

import sys
sys.setrecursionlimit(10**9)
INF=10**18
MOD=10**9+7
input=lambda: sys.stdin.readline().rstrip()
YesNo=lambda b: bool([print('Yes')] if b else print('No'))
YESNO=lambda b: bool([print('YES')] if b else print('NO'))
int1=lambda x:int(x)-1

def main():
    X=int(input())
    print(int(X**0.5)**2)

if __name__ == '__main__':
    main()


Failing test case input:
354

Expected output:
343


Actual output:
324


Fixed submission (verdict: Accepted):

import sys
from bisect import bisect_left,bisect_right
sys.setrecursionlimit(10**9)
INF=10**18
MOD=10**9+7
input=lambda: sys.stdin.readline().rstrip()
YesNo=lambda b: bool([print('Yes')] if b else print('No'))
YESNO=lambda b: bool([print('YES')] if b else print('NO'))
int1=lambda x:int(x)-1

def main():
    X=int(input())
    l=[]
    for i in range(1,33):
        for j in range(2,11):
            l.append(i**j)
    l.sort()
    print(l[bisect_right(l,X)-1])

if __name__ == '__main__':
    main()
Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
x = int(input())
if x == 1:
    print(1)
    exit()

ans = 1 

for i in range(2,x+1):
    a = i
    while a < x:
        a *= a 
        if a <= x: ans = max(ans, a)
print(ans)


Failing test case input:
250

Expected output:
243


Actual output:
225


Fixed submission (verdict: Accepted):
import math
x = int(input())
if x < 4:
    print(1)
    exit()

ans = 1 
for i in range(2, x+1): 
    a = i 
    while a < x:
        a *= i 
        if a <= x: ans = max(ans, a)
print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())

maxInt = 1

i = 2
while i * i <= x:
	exp = i * i
	while exp <= x:
		exp *= i
	else:
		maxInt = max(maxInt, exp)
		i += 1
print(maxInt)

Failing test case input:
989

Expected output:
961


Actual output:
29791


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

maxInt = 1

i = 2
while i * i <= x:
	exp = i * i
	while exp <= x:
		exp *= i
	else:
		maxInt = max(maxInt, exp 
		i += 1
print(maxInt)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())

prime = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31]
ans_list = [1]

for i in prime:
    cnt = 2
    while True:
        tmp = i ** cnt
        if tmp > x:
            break
        ans_list += [tmp]
        cnt += 1
        
    
ans_list.sort()

for i in ans_list[::-1]:
    if i <= x:
        print(i)
        break

Failing test case input:
1298

Expected output:
1296


Actual output:
1024


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

ans_list = [1]

for i in range(2,x+1):
    cnt = 2
    while True:
        tmp = i ** cnt
        if tmp > x:
            break
        ans_list += [tmp]
        cnt += 1
        
    
ans_list.sort()

for i in ans_list[::-1]:
    if i <= x:
        print(i)
        break

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
max = 0
if x == 1:
    print(1)
    exit()
for b in range(2, 1000):
    for p in range(10):
        if b**p <= x:
            if b**p >= max:
                max = b**p
print(max)

Failing test case input:
639

Expected output:
625


Actual output:
639


Fixed submission (verdict: Accepted):
x = int(input())
max = 0
if x == 1:
    print(1)
    exit()
for b in range(1, 1001):
    for p in range(2, 10):
        if b**p <= x:
            if b**p >= max:
                max = b**p
print(max)

Problem: p03352
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys
 
X = int(sys.stdin.readline())
ans = 0
for i in range(X+1):
	for j in range(11):
		tmp = pow(i, j)
		if tmp <= X:
			ans = max(ans, tmp)
print(ans)

Failing test case input:
552

Expected output:
529


Actual output:
552


Fixed submission (verdict: Accepted):
import sys
 
X = int(sys.stdin.readline())
ans = 0
for i in range(X+1):
    for j in range(2, 11):
        tmp = pow(i, j)
        if tmp <= X:
            ans = max(ans, tmp)
print(ans)
Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
a = [1]
for i in range(2, -~1000):
    b = i**2
    while b <= x:
        a += [b]
        b *= i
print(a[-1])

Failing test case input:
1357

Expected output:
1331


Actual output:
1296


Fixed submission (verdict: Accepted):
x = int(input())
a = set([1])
for i in range(2, -~1000):
    b = i**2
    while b <= x:
        a = a | set([b])
        b *= i
print(sorted(a)[-1])

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
ans = []
for i in range(1, x+1):
    for l in range(2, x+1):
        if i ** l <= x:
            ans.append(i ** l)
        if i ** l > x:
            break

if x == 1:
    print(1)
else:
    print(ans[len(ans)-1])


Failing test case input:
1746

Expected output:
1728


Actual output:
1681


Fixed submission (verdict: Accepted):
x = int(input())
ans = []
for i in range(1, x+2):
    for l in range(2, x+2):
        if i ** l <= x:
            ans.append(i ** l)
        if i ** l > x:
            break
            

ans.sort()
print(ans[len(ans)-1])

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
ans = 0
for j in range(10000):
    for k in range(10000):
        if N > j ** k:
            if ans < j ** k:
                ans = j ** k
        else :
            break
 
print(ans)


Failing test case input:
1074

Expected output:
1024


Actual output:
1073


Fixed submission (verdict: Accepted):
N = int(input())
ans = 0
for j in range(1,N):
    for k in range(2,100):
        if N >= j ** k:
            if ans < j ** k:
                ans = j ** k
 
if N == 1:
    print(1)
else:
    print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from math import sqrt
X = int(input())
ans = 1
for i in range(2,int(sqrt(X))+1):
    tmp = i
    p = 1
    while True:
        p += 1
        tmp = tmp**p
        if tmp > X: break
        else:
            if tmp > ans: ans = tmp
print(ans)

Failing test case input:
1023

Expected output:
1000


Actual output:
961


Fixed submission (verdict: Accepted):
from math import sqrt
X = int(input())
ans = 1
for i in range(2,int(sqrt(X))+1):
    p = 1
    while True:
        p += 1
        tmp = i**p
        if tmp > X: break
        else:
            if tmp > ans: ans = tmp
print(ans)

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


def compute():
    x = int(input())
    if x == 1:
        print(1)
    else:
        for b in range(31, 1, -1):
            for p in range(9, 1, -1):
                y = b**p
                if y <= x:
                    print(y)
                    return
compute()


Failing test case input:
524

Expected output:
512


Actual output:
484


Fixed submission (verdict: Accepted):


def compute():
    x = int(input())
    if x == 1:
        print(1)
    else:
        beki = []
        for b in range(31, 1, -1):
            for p in range(9, 1, -1):
                beki.append(b**p)
        for y in sorted(beki)[::-1]:
            if y <= x:
                print(y)
                return
compute()
Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X = int(input())
maximumList = []



if X <= 3:
    print(1)
else:    
    for b in range(2,32):
        p = 2
        while b**p <= 1000:
            p += 1
        else:
            maximumList.append(b**(p-1))
    print(max(maximumList))

Failing test case input:
610

Expected output:
576


Actual output:
1000


Fixed submission (verdict: Accepted):
import math
X = int(input())
maximumList = []



if X <= 3:
    print(1)
else:    
    for b in range(2,math.ceil(X**0.5)):
        p = 2
        while b**p <= X:
            p += 1
        else:
            if b**(p-1) <= X:
                maximumList.append(b**(p-1))
    print(max(maximumList))

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
k = 0
for i in range(n):
  if n < pow(i,2):
    break
  if k <= pow(i,2):
    k = pow(i,2)  
  for z in range(3,i):
    if n < pow(i,z):
      break
    elif k <= pow(i,z):
      k = pow(i,z)
      
print(k)

Failing test case input:
250

Expected output:
243


Actual output:
225


Fixed submission (verdict: Accepted):
n=int(input())
m = int(pow(n,1/2)) + 1
k = 0
for i in range(n+1):
  if n < pow(i,2):
    break
  if k <= pow(i,2):
    k = pow(i,2)  
  for z in range(3,n):
    if n < pow(i,z):
      break
    elif k <= pow(i,z):
      k = pow(i,z)
 
print(k)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n =(int)(input())
ans=0
for i in range(n):
  for j in range(n):
    if i**j <= n:
      ans=max(ans,i**j)
    else:
      break
print(ans)

Failing test case input:
826

Expected output:
784


Actual output:
825


Fixed submission (verdict: Accepted):
n=(int)(input())
ans =1
for i in range(n):
  for j in range(n):
    p=j+2
    if i**p <=n:
      ans=max(ans,i**p)
    else:
      break
print(ans)

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

X = int(input())


def exponential(X):
    value = 1
    for n in range(34):
        for p in range(10):
            tmp = n ** p
            if tmp > X:
                break
            else:
                value = tmp
    return value


print(exponential(X))


Failing test case input:
870

Expected output:
841


Actual output:
33


Fixed submission (verdict: Accepted):

X = int(input())


def exponential(X):
    value = 1
    for n in range(34):
        for p in range(2, 10):
            tmp = n ** p
            if tmp > X:
                break
            else:
                value = max(value, tmp)
    return value


print(exponential(X))
Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


import math


def calcPow(X):
    num = int(math.sqrt(X))
    print("num : " +str(num))
    Max = 0

    for i in range(2,num+1):
        for j in range(2,num+1):
            if(pow(i,j) > X):
                if(pow(i,j-1) > Max):
                    Max = pow(i,j-1)
                    break
                break

    return Max


if __name__ == '__main__':
    X = int(input())

    print(calcPow(X))


Failing test case input:
1298

Expected output:
1296


Actual output:
num : 36
1296


Fixed submission (verdict: Accepted):
import math

def calcPow(X):
    num = int(math.sqrt(X))
    Max = 0

    if(X <= 3):
        return X

    for i in range(2,num+1):
        for j in range(2,X):
            if(pow(i,j) > X):
                if(pow(i,j-1) > Max):
                    Max = pow(i,j-1)
                    break
                break

    return Max


if __name__ == '__main__':
    X = int(input())

    print(calcPow(X))

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X = int(input())
c = 1
for b in range(1,X):
    for p in range(2,X):
        if b**p <= X:
            c = b**p
        else:
            break
print(c)


Failing test case input:
250

Expected output:
243


Actual output:
225


Fixed submission (verdict: Accepted):
X = int(input())
c = 1
for b in range(1,X):
    for p in range(2,X):
        if b**p <= X:
            c = max(c, b**p)
        else:
            break
print(c)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X = int(input())
c = 1
for b in range(1,X):
    for p in range(2,X):
        if b**p < X:
            c = b**p
        else:
            break
print(c)

Failing test case input:
1357

Expected output:
1331


Actual output:
1296


Fixed submission (verdict: Accepted):
X = int(input())
c = 1
for b in range(1,X):
    for p in range(2,X):
        if b**p <= X:
            c = max(c, b**p)
        else:
            break
print(c)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X=int(input())
n=1
for b in range(2,X):
   p=2
   while(True):
      x=b**p
      if x<=X:
         n=x
         p+=1
      else:
         break
   
print(n)

Failing test case input:
1746

Expected output:
1728


Actual output:
1681


Fixed submission (verdict: Accepted):
X=int(input())
n=1
for b in range(2,X):
   p=2
   while(True):
      x=b**p
      if x<=X:
         n=max(x,n)
         p+=1
      else:
         break
   
print(n)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X = int(input())
ansMax = 0
for i in range(101):
    tmp = i * i
    if X >= tmp:
        ansMax = tmp
    else:
        break
print(ansMax)

Failing test case input:
1023

Expected output:
1000


Actual output:
961


Fixed submission (verdict: Accepted):
X = int(input())
ansMax = 0
for i in range(1, X + 1):
    for j in range(2, X + 2):
        tmp = i ** j
        if X >= tmp:
            ansMax = max(ansMax, tmp)
        else:
            break

print(ansMax)
Problem: p03352
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X=int(input())
ans=0
for i in range(X+1):
    if i*i<=X:
        sum=i*i
        for j in range(X):
            if i*(i*j)>X:
                break
            sum=max(sum,i*(i*j))
    else:
        break
    ans=max(ans,sum)

print(sum)

Failing test case input:
1023

Expected output:
1000


Actual output:
961


Fixed submission (verdict: Accepted):
X=int(input())
ans=0
for i in range(X+1):
    if i*i<=X:
        sum=i*i
        for j in range(X):
            if i**j>X:
                break
            sum=max(sum,i**j)
    else:
        break
    ans=max(ans,sum)

print(ans)

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

import sys


def solve(X: int):
    v = []
    for i in range(1, X + 1):
        sq = i
        while True:
            sq *= i
            if X < sq:
                break
            v.append(sq)
            i += 1
    print(sorted(v)[-1])



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  
    solve(X)

if __name__ == '__main__':
    main()


Failing test case input:
1746

Expected output:
1728


Actual output:
1681


Fixed submission (verdict: Accepted):

import sys


def solve(X: int):
    v = [1]
    for i in range(2, X + 1):
        sq = i
        while True:
            sq *= i
            if X < sq:
                break
            v.append(sq)
    print(sorted(v)[-1])



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  
    solve(X)

if __name__ == '__main__':
    main()

Problem: p03352
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from collections import defaultdict

def readInt():
  return int(input())
def readInts():
  return list(map(int, input().split()))
def readChar():
  return input()
def readChars():
  return input().split()

x = readInt()
l = [0]*(x+1)
l[1]=1

for i in range(2,len(l)):
  if i*i>len(l)-1:
    break
  else:
    l[i]=1
    l[i*i]=1

for i in range(len(l)-1,-1,-1):
  if l[i]==1:
    print(i)
    break

Failing test case input:
250

Expected output:
243


Actual output:
225


Fixed submission (verdict: Accepted):
from collections import defaultdict

def readInt():
  return int(input())
def readInts():
  return list(map(int, input().split()))
def readChar():
  return input()
def readChars():
  return input().split()

x = readInt()
l = [0]*(x+1)
l[1]=1

for i in range(2,len(l)):
  if l[i]==0:
    j = i*i
    while 1:
      if j>len(l)-1:
        break
      else:
        l[j]=1
        j*=i


for i in range(len(l)-1,-1,-1):
  if l[i]==1:
    print(i)
    break
Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x=int(input())
ans=0
for b in range(2,11):
  for p in range(2,x):
    if x-b**p>=0:
      ans=max(ans,b**p)
print(ans)

Failing test case input:
610

Expected output:
576


Actual output:
512


Fixed submission (verdict: Accepted):
x=int(input())
ans=1
for b in range(1,x):
  for p in range(2,x):
    if x-b**p>=0:
      ans=max(ans,b**p)
    else:
      break
print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X = int(input())
res = 0
for b in range(1, 33):
  for p in range(2, 10):
    res = max(res, b ** p)
print(res)
    

Failing test case input:
354

Expected output:
343


Actual output:
35184372088832


Fixed submission (verdict: Accepted):
X = int(input())
res = 0
for b in range(1, 33):
  for p in range(2, 10):
    if b ** p <= X:
      res = max(res, b ** p)
print(res)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
ans = 0
for j in range(1,N):
    for k in range(1,100):
        if N > j ** k:
            if ans < j ** k:
                ans = j ** k
 
print(ans)


Failing test case input:
1746

Expected output:
1728


Actual output:
1745


Fixed submission (verdict: Accepted):
N = int(input())
ans = 0
for j in range(1,N):
    for k in range(2,100):
        if N >= j ** k:
            if ans < j ** k:
                ans = j ** k
 
if N == 1:
    print(1)
else:
    print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X = int(input())
if X == 1: print(1)
else:
    ans = 0
    for i in range(2, int(X**0.5)+1):
        while i <= X:
            ans = max(ans, i)
            i *= i
    print(ans)

Failing test case input:
250

Expected output:
243


Actual output:
225


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

if X == 1:
    print(1)
else:
    ans = 1
    for i in range(2, int(X**0.5)+1):
        b = i
        b *= i
        while b <= X:
            ans = max(ans, b)
            b *= i
    print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
l = [1]
for i in range(2,32):
    num = i
    num *= num
    while num < x:
        l.append(num)
        num *= num
print(max(l))

Failing test case input:
250

Expected output:
243


Actual output:
225


Fixed submission (verdict: Accepted):
x = int(input())
l = [1]
for i in range(2,int(x**0.5)+1):
    num = i
    num *= i
    while num <= x:
        l.append(num)
        num *= i
print(max(l))

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())

sosu = [2,3,5,7,11,13,17,19,23,29,31]

ans = 1
for i in range(len(sosu)):
  now = sosu[i]
  for j in range(1,11):
    now = now*sosu[i]
    if(now <= x and ans <= now):
      ans = now

print(ans)

Failing test case input:
1023

Expected output:
1000


Actual output:
961


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

num = list(range(2,32))

ans = 1
for i in range(len(num)):
  now = num[i]
  while now < x:
    now = now*num[i]
    if(now <= x and ans <= now):
      ans = now
print(ans)
Problem: p03352
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
x = int(s)

y = 2
max_ans = 1

for i in range(1, x):
    z = 1
    while y < x:
        z += 1
        y = z * z
        if y < x:
            max_ans = max(max_ans, y)
    
print(max_ans)

Failing test case input:
1746

Expected output:
1728


Actual output:
1681


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

y = 2
max_num = 1

for i in range(2, x):
    if i > x:
        break
    z = i
    y = z * z
    for j in range(2, x):
        if y <= x:
            max_num = max(max_num, y)
        else:
            break
        y *= z

print(max_num)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
b = []
for i in [2,3,5,7,11,13,17,19,23,29,31]:
    for j in range(2, 10):
        b.append(i**j)
b.sort()
ans = 1
for i in b:
    if i <= x:
        ans = i
    else:
        break
print(ans)

Failing test case input:
1298

Expected output:
1296


Actual output:
961


Fixed submission (verdict: Accepted):
x = int(input())
b = []
for i in range(2,32):
    for j in range(2, 10):
        b.append(i**j)
b.sort()
ans = 1
for i in b:
    if i <= x:
        ans = i
    else:
        break
print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X = int(input())
if X == 1: print(1)
else:
    ans = 0
    for i in range(2, int(X**0.5)+1):
        while i*i <= X:
            ans = max(ans, i*i)
            i *= i
    print(ans)

Failing test case input:
1023

Expected output:
1000


Actual output:
961


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

if X == 1:
    print(1)
else:
    ans = 1
    for i in range(2, int(X**0.5)+1):
        b = i
        b *= i
        while b <= X:
            ans = max(ans, b)
            b *= i
    print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())

ans = 1
for i in range(2, x + 1):
    tmp = i
    while tmp <= x:
        tmp *= i
    ans = max(ans, tmp / i)

print(ans)


Failing test case input:
1746

Expected output:
1728


Actual output:
1746.0


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

import math
ans = 1
for i in range(2, math.ceil(math.sqrt(x)) + 1):
    tmp = i
    while tmp <= x:
        tmp *= i
    ans = max(ans, tmp 

print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
s = []
for i in range(x):
    for j in range(2,4):
        if i**j <= x:
            s.append(i**j)

print(max(s))

Failing test case input:
250

Expected output:
243


Actual output:
225


Fixed submission (verdict: Accepted):
n = int(input())
a = 1
for i in range(1,n):
    for j in range(2,n):
        if i**j <= n:
            a = max(a,i**j)
        else:
            break


print(a)
Problem: p03352
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
from bisect import *
A = {1}
for p in range(2,11):
    for b in range(1,33):
        A.add(p**b)
A = list(A)
A.sort()
X = int(input())
print(A[bisect_right(A,X)-1])

Failing test case input:
689

Expected output:
676


Actual output:
625


Fixed submission (verdict: Accepted):
from bisect import *
A = {1}
for p in range(2,11):
    for b in range(2,33):
        A.add(b**p)
A = list(A)
A.sort()
X = int(input())
print(A[bisect_right(A,X)-1])

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

import sys


def solve(X: int):
    v = []
    for i in range(X + 1):
        sq = i * i
        if X < sq:
            break
        v.append(sq)
    print(v[-1])



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  
    solve(X)

if __name__ == '__main__':
    main()


Failing test case input:
250

Expected output:
243


Actual output:
225


Fixed submission (verdict: Accepted):

import sys


def solve(X: int):
    v = [1]
    for i in range(2, X + 1):
        sq = i
        while True:
            sq *= i
            if X < sq:
                break
            v.append(sq)
    print(sorted(v)[-1])



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  
    solve(X)

if __name__ == '__main__':
    main()

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from math import sqrt
x = int(input())
cnt = 0
l = []
for i in range(1, x + 1):
    for j in range(1, int(sqrt(i)) +1):
        if j ** 2 == i:
            l.append(i)
print(max(l))

Failing test case input:
1357

Expected output:
1331


Actual output:
1296


Fixed submission (verdict: Accepted):
from math import sqrt
x = int(input())
cnt = 0
l = []
for i in range(1, x + 1):
    for j in range(1, int(sqrt(i)) +1):
        for k in range(2, 10):
            if j ** k == i:
                l.append(i)
print(max(l))

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
max_num = 1

for i in range(2,x):
    for j in range(1,x):
        if i**j > x :
            break
        else:
            max_num = max([max_num,i**j])
print(max_num)

Failing test case input:
390

Expected output:
361


Actual output:
389


Fixed submission (verdict: Accepted):
x = int(input())
max_num = 1

for i in range(2,x):
    for j in range(2,x):
        if i**j > x :
            break
        else:
            max_num = max([max_num,i**j])


print(max_num)
Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X = int(input())
if X == 1: print(1)
else:
    ans = 0
    for i in range(2, X):
        while i <= X:
            ans = max(ans, i)
            i *= i
    print(ans)

Failing test case input:
1023

Expected output:
1000


Actual output:
1022


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

if X == 1:
    print(1)
else:
    ans = 1
    for i in range(2, int(X**0.5)+1):
        b = i
        b *= i
        while b <= X:
            ans = max(ans, b)
            b *= i
    print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
for i in range(x, 0, -1):
  for j in range(2, max(x + 1, 3)):
    if pow(i, j) <= x:
      print(pow(i, j))
      exit()
    else:
      break

Failing test case input:
1357

Expected output:
1331


Actual output:
1296


Fixed submission (verdict: Accepted):
x = int(input())
ans = 0
for i in range(x, 0, -1):
  for j in range(2, max(x + 1, 3)):
    if pow(i, j) <= x:
      ans = max(ans, pow(i, j))
    else:
      break
print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x=int(input())
def beki(n):
    for i in range(2,32):
        if n%i==0:
            t=0
            while n>=1:
                n/=i
                if n==1 and t>=1:
                    return True
                if n<1:
                    return False
                t+=1
y=1
for i in range (1,x+1):
    if beki(i)==True:
        y=i
print(y)


Failing test case input:
1298

Expected output:
1296


Actual output:
1024


Fixed submission (verdict: Accepted):
x=int(input())
def beki(n):
    for i in range(2,32):
        k=n
        if k%i==0:
            t=0
            while k>=1:
                k/=i
                if k==1 and t>=1:
                    return True
                t+=1
y=1
for i in range (1,x+1):
    if beki(i)==True:
        y=i
print(y)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
ans = 0
while True:
    i = 2
    while i < 10:

        if x**(1/i)==int(x**(1/i)):
            ans = x
            break
        i += 1
    if ans != 0:
        break
    x -= 1

print(ans)
        

Failing test case input:
1357

Expected output:
1331


Actual output:
1296


Fixed submission (verdict: Accepted):
x = int(input())
ans = 0
while True:
    i = 2
    while i < 11:

        if round(x**(1/i),1)==round((x**(1/i)),8):
            ans = x
            break
        i += 1
    if ans != 0:
        break
    x -= 1

print(ans)

Problem: p03352
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
ans = 1
for i in range(2,x+1):
  p=2
  if i**p <= x:
    ans = max(ans,i**p)
    p+=1
print(ans)


Failing test case input:
1357

Expected output:
1331


Actual output:
1296


Fixed submission (verdict: Accepted):
X = int(input())
ans = 1
for i in range(2,X+1):
    p = 2
    while i**p <= X:
        ans = max(ans,i**p)
        p+=1
print(ans)
Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int, input().split())

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


Failing test case input:
59 5 11

Expected output:
11 59 5


Actual output:
[11, 59, 5]


Fixed submission (verdict: Accepted):
a,b,c=list(map(int, input().split()))
answer=[0]*3
answer[0]=c
answer[1]=a
answer[2]=b
for i in answer:
  print(i, end=' ')

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split(' '))
print('{} {} {}'.format(b, c, a))


Failing test case input:
010 000 110

Expected output:
110 10 0


Actual output:
0 110 10


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split(' '))
print('{} {} {}'.format(c, a, b))

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(*sorted(list(map(int,input().split()))))

Failing test case input:
6 2 51

Expected output:
51 6 2


Actual output:
2 6 51


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

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y,z=map(int, input().split())
print(z,y,x)

Failing test case input:
010 110 110

Expected output:
110 10 110


Actual output:
110 110 10


Fixed submission (verdict: Accepted):
x,y,z=map(int, input().split())
print(z,x,y)

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y, z = [int(i) for i in input().split()]
print(y, z, x)

Failing test case input:
3 2 14

Expected output:
14 3 2


Actual output:
2 14 3


Fixed submission (verdict: Accepted):
x, y, z = [int(i) for i in input().split()]
print(z, x, y)

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, Y, Z = map(int, input().split())
tmp = 0;

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

print(X, Y, Z)


Failing test case input:
41 5 46

Expected output:
46 41 5


Actual output:
5 46 41


Fixed submission (verdict: Accepted):
X, Y, Z = map(int, input().split())
tmp = 0;

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

print(X, Y, Z)

Problem: p02717
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c = map(int,input().split())

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

Failing test case input:
011 001 100

Expected output:
100 11 1


Actual output:
100 1 11


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

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

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print(c, b, a)

Failing test case input:
161 1 3

Expected output:
3 161 1


Actual output:
3 1 161


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

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from sys import stdin

l = list(map(int, stdin.readline().rstrip().split()))

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

print("c a b")

Failing test case input:
59 5 11

Expected output:
11 59 5


Actual output:
c a b


Fixed submission (verdict: Accepted):
from sys import stdin
A, B, C = map(int, stdin.readline().rstrip().split())


print(C,A,B)
Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y, z = map(int, input().split())

tmp = z
y = x
z = y
x = tmp

print(x, y, z)


Failing test case input:
41 82 46

Expected output:
46 41 82


Actual output:
46 41 41


Fixed submission (verdict: Accepted):
x, y, z = map(int, input().split())

tmp = x
x = z
z = y
y = tmp

print(x, y, z)

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
print("{} {} {}".format(b,c,a))


Failing test case input:
011 001 100

Expected output:
100 11 1


Actual output:
1 100 11


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
print("{} {} {}".format(c,a,b))

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
li= list(map(int, input().split()))
li.insert(1, li.pop(0))
li.insert(2, li.pop(0))
li.insert(0, li.pop(1))
print(li)


Failing test case input:
225 1 2

Expected output:
2 225 1


Actual output:
[2, 225, 1]


Fixed submission (verdict: Accepted):
li= list(map(int, input().split()))
li.insert(1, li.pop(0))
li.insert(2, li.pop(0))
li.insert(0, li.pop(1))
print(li[0], li[1], li[2])

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y, z = map(int, input().split())

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

print(x, y ,z)

Failing test case input:
86 5 12

Expected output:
12 86 5


Actual output:
12 5 86


Fixed submission (verdict: Accepted):
x, y, z = map(int, input().split())

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

print(x, y ,z)

Problem: p02717
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N_List = list(map(int,input().split()))
N_List.append(N_List.pop(0))
print(" ".join(map(str,N_List)))

Failing test case input:
250 1 3

Expected output:
3 250 1


Actual output:
1 3 250


Fixed submission (verdict: Accepted):
N_List = list(map(int,input().split()))
N_List.insert(0,N_List.pop(2))
print(" ".join(map(str,N_List)))

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y,Z=map(int, input().split()) 
X,Y = Y,X
X,Z = Z,X
L =[X,Y,Z]
print(L)

Failing test case input:
011 100 001

Expected output:
1 11 100


Actual output:
[1, 11, 100]


Fixed submission (verdict: Accepted):
X,Y,Z=map(int, input().split()) 
X,Y = Y,X
X,Z = Z,X
print(X,Y,Z)

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

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

Failing test case input:
010 110 011

Expected output:
11 10 110


Actual output:
10 11 110


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

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

Problem: p02717
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
ans = list(map(int,input().split()))
print(ans[2],ans[1],ans[0])


Failing test case input:
010 000 100

Expected output:
100 10 0


Actual output:
100 0 10


Fixed submission (verdict: Accepted):
ans = list(map(int,input().split()))
print(ans[2],ans[0],ans[1])
Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, Y, Z = map(int, input().split())

print(Z, Y, X)

Failing test case input:
41 82 46

Expected output:
46 41 82


Actual output:
46 82 41


Fixed submission (verdict: Accepted):
X, Y, Z = map(int, input().split())

print(Z, X, Y)

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, Y, Z = list(map(int, input().split()))
print(Z, Y, X)

Failing test case input:
41 18 46

Expected output:
46 41 18


Actual output:
46 18 41


Fixed submission (verdict: Accepted):
X, Y, Z = list(map(int, input().split()))
print(Z, X, Y)

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y, z = map(int, input().split())
print(y, z, x)


Failing test case input:
59 10 8

Expected output:
8 59 10


Actual output:
10 8 59


Fixed submission (verdict: Accepted):
x, y, z = map(int, input().split())
print(z, x, y)

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

boxes = list(map(int, input().split()))
tmp_a, tmp_b = boxes[1], boxes[0]
boxes[0], boxes[1] = tmp_a, tmp_b
tmp_a, tmp_c = boxes[2], boxes[0]
boxes[0], boxes[2] = tmp_a, tmp_c
print(boxes)

Failing test case input:
86 5 12

Expected output:
12 86 5


Actual output:
[12, 86, 5]


Fixed submission (verdict: Accepted):

boxes = list(map(int, input().split()))
tmp_a, tmp_b = boxes[1], boxes[0]
boxes[0], boxes[1] = tmp_a, tmp_b
tmp_a, tmp_c = boxes[2], boxes[0]
boxes[0], boxes[2] = tmp_a, tmp_c
print(boxes[0], boxes[1], boxes[2])

Problem: p02717
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print(c, b, a)

Failing test case input:
010 000 110

Expected output:
110 10 0


Actual output:
110 0 10


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

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
 
print(a, b, c)


Failing test case input:
001 110 011

Expected output:
11 1 110


Actual output:
1 110 11


Fixed submission (verdict: Accepted):
x, y, z = map(int, input().split())
 
print(z, x, y)

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C = map(int,input().split())
print(C,B,A)

Failing test case input:
86 5 13

Expected output:
13 86 5


Actual output:
13 5 86


Fixed submission (verdict: Accepted):
A,B,C = map(int,input().split())
print(C,A,B)

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,  b, c = map(int, input().split())
print(c,b,a)

Failing test case input:
3 2 12

Expected output:
12 3 2


Actual output:
12 2 3


Fixed submission (verdict: Accepted):



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

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
inputline = list(map(lambda x:int(x), input().split(" ")))
print(inputline[1], inputline[2], inputline[0])

Failing test case input:
011 100 011

Expected output:
11 11 100


Actual output:
100 11 11


Fixed submission (verdict: Accepted):
inputline = list(map(lambda x:int(x), input().split(" ")))
print(inputline[2], inputline[0], inputline[1])
Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(b,a,c)

Failing test case input:
41 82 31

Expected output:
31 41 82


Actual output:
82 41 31


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

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


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)

Failing test case input:
001 100 101

Expected output:
101 1 100


Actual output:
100 101 1


Fixed submission (verdict: Accepted):
X, Y, Z =map(int, input().split())
X, Y = Y, X
X, Z = Z, X


print(X, Y, Z)

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, Y, Z = map(int,input().split())
print(*[Y, Z, X])

Failing test case input:
59 18 12

Expected output:
12 59 18


Actual output:
18 12 59


Fixed submission (verdict: Accepted):
X, Y, Z = map(int,input().split())
print(*[Z, X, Y])

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y,Z=map(int,input().split())
A=[Z,Y,X]
print(*A)

Failing test case input:
001 100 101

Expected output:
101 1 100


Actual output:
101 100 1


Fixed submission (verdict: Accepted):
X,Y,Z=map(int,input().split())
A=[Z,X,Y]
print(*A)

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y,z = map(int,input().split())
print(z,y,x)

Failing test case input:
011 001 100

Expected output:
100 11 1


Actual output:
100 1 11


Fixed submission (verdict: Accepted):
x,y,z = map(int,input().split())
print(z,x,y)

Problem: p02717
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
ri = lambda S: [int(v) for v in S.split()]
X, Y, Z = ri(input())

if X > Y:
    X, Y = Y, X
if Y > Z:
    Y, Z = Z, Y
if X > Y:
    X, Y = Y, X

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

Failing test case input:
000 110 101

Expected output:
101 0 110


Actual output:
0 101 110


Fixed submission (verdict: Accepted):
ri = lambda S: [int(v) for v in S.split()]
X, Y, Z = ri(input())

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

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

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y,z=list(map(int,input().split()))
print(x,y,z)


Failing test case input:
225 0 3

Expected output:
3 225 0


Actual output:
225 0 3


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

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
li= list(map(int, input().split()))
li.insert(1, li.pop(0))
li.insert(2, li.pop(1))
print(li)


Failing test case input:
011 100 011

Expected output:
11 11 100


Actual output:
[100, 11, 11]


Fixed submission (verdict: Accepted):
li= list(map(int, input().split()))
li.insert(1, li.pop(0))
li.insert(2, li.pop(0))
li.insert(0, li.pop(1))
print(li[0], li[1], li[2])

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
a = b
a = c
print(a,b,c)

Failing test case input:
001 100 101

Expected output:
101 1 100


Actual output:
101 100 101


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print(c,a,b)
Problem: p02717
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X,Y,Z = map(int,input().split())
print(Y,Z,X)

Failing test case input:
010 110 011

Expected output:
11 10 110


Actual output:
110 11 10


Fixed submission (verdict: Accepted):
X,Y,Z = map(int,input().split())
print(Z,X,Y)

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
xa, yb, zc = map(int, input().split())
print(zc, yb, xa)

Failing test case input:
6 3 24

Expected output:
24 6 3


Actual output:
24 3 6


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

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y,Z = map(int, input().split())

print(Z,Y,X)

Failing test case input:
125 1 2

Expected output:
2 125 1


Actual output:
2 1 125


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

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
print(str(c)+str(a)+str(b))

Failing test case input:
135 5 13

Expected output:
13 135 5


Actual output:
131355


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

Problem: p02717
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
x,y,z = map(int,input().split())
tmp = x
x = y
y = tmp
print(x,y,z)
tmp = x
x = z
z = tmp

print(x,y,z)

Failing test case input:
6 2 84

Expected output:
84 6 2


Actual output:
2 6 84
84 6 2


Fixed submission (verdict: Accepted):
x,y,z = map(int,input().split())
tmp = x
x = y
y = tmp
tmp = x
x = z
z = tmp

print(x,y,z)

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    nums= list(map(int,input().split(" ")))
    print("%d %d %d"%(nums[2], nums[0], nums[1]))

Failing test case input:
011 110 110

Expected output:
110 11 110


Actual output:

Fixed submission (verdict: Accepted):
if __name__ == '__main__':
	nums= list(map(int,input().split(" ")))
	print("%d %d %d"%(nums[2], nums[0], nums[1]))

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y,Z = [int(i) for i in input().split()]
print(Y,Z,X)

Failing test case input:
236 4 2

Expected output:
2 236 4


Actual output:
4 2 236


Fixed submission (verdict: Accepted):
X,Y,Z = [int(i) for i in input().split()]
print(Z,X,Y)

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

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

Failing test case input:
010 000 110

Expected output:
110 10 0


Actual output:
110 0 10


Fixed submission (verdict: Accepted):

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

Problem: p02717
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y,Z=map(int,input().split())
print(Y,Z,X)

Failing test case input:
010 000 110

Expected output:
110 10 0


Actual output:
0 110 10


Fixed submission (verdict: Accepted):
X,Y,Z=map(int,input().split())
print(Z,X,Y)