ZhenlongDai/ACPR huggingface dataset:
Problem: p03808
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
A=[int(i) for i in input().split()]
ans=True

if sum(A)%(int((N*(N+1))/2))!=0:
        ans=False
k=sum(A)*2/(N*(N+1))


d=[A[i+1]-A[i]-k for i in range(N-1)]
d.append(A[0]-A[N-1]-k)
for i in range(N):
        if d[i]%N!=0:
                ans=False
if ans:
        print("Yes")
else:
        print("No")

Failing test case input:
4
4 1 3 0

Expected output:
NO


Actual output:
No


Fixed submission (verdict: Accepted):
N=int(input())
A=[int(i) for i in input().split()]
ans=True

if sum(A)*2%(N*(N+1))!=0:
        ans=False
k=sum(A)*2/(N*(N+1))


d=[A[i+1]-A[i]-k for i in range(N-1)]
d.append(A[0]-A[N-1]-k)
for i in range(N):
        if d[i]>0 or d[i]%N!=0:
                ans=False
if ans:
        print("YES")
else:
        print("NO")

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


import sys

N = int(input())

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

M = N*(N+1)

if sum(A) % M != 0:
    print ("NO")
    sys.exit()

able = sum(A) 



A.append(A[0])
now = 0

for i in range(N):

    if A[i+1] - A[i] == able:
        continue

    else:
        
        if ((A[i+1]-A[i])-able) % (0-N) != 0:
            print ("NO")
            sys.exit()

        else:
            now += ((A[i+1]-A[i])-able) 


if now == able:
    print ("YES")
else:
    print ("NO")

Failing test case input:
5
6 9 12 10 8

Expected output:
YES

Actual output:
NO


Fixed submission (verdict: Accepted):


import sys

N = int(input())

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

M = N*(N+1)

if sum(A) % M != 0:
    print ("NO")
    sys.exit()

able = sum(A) 



A.append(A[0])
now = 0

for i in range(N):

    

    if A[i+1] - A[i] == able:
        continue

    else:
        
        if ((A[i+1]-A[i])-able) % N != 0 or ((A[i+1]-A[i])-able) 
            print ("NO")
            sys.exit()

        else:
            now += ((A[i+1]-A[i])-able) 


if now == able:
    print ("YES")
else:
    print ("NO")

Problem: p03808
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    n = int(input())
    a = list(map(int, input().split()))
    nn = (n*(n+1))
    sum_ = sum(a)
    a += [a[0]]
    cnt = sum_
    if sum_ % nn != 0:
        print("NO")
        return 0
    ans = 0
    for i in range(n):
        p = a[i]-a[i+1]+cnt
        if p % n != 0:
            print("NO")
            break
        ans += p
    if ans <= cnt:
        print("YES")
    else:
        print("NO")


main()

Failing test case input:
5
6 9 12 10 8

Expected output:
YES

Actual output:
NO


Fixed submission (verdict: Accepted):
def main():
    n = int(input())
    a = list(map(int, input().split()))
    nn = (n*(n+1))
    sum_ = sum(a)
    a += [a[0]]
    cnt = sum_
    if sum_ % nn != 0:
        print("NO")
        return 0
    ans = 0
    for i in range(n):
        p = a[i]-a[i+1]+cnt
        if p % n != 0 or p
            print("NO")
            return 0
        ans += p
    if ans == cnt:
        print("YES")
    else:
        print("NO")


main()
Problem: p03808
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n = int(input())
a = list(map(int, input().split()))

s = sum(a)

if s%n!=0:
    print('NO')
    exit()

ss = s

b = [0 for i in range(n)]


for i in range(n):
    b[i-1] = (ss-a[i]+a[i-1])

c = [0 for i in range(n)]
for i in range(n):
    c[0]+=b[i]*(n-i)

for i in range(1,n):
    c[i] = c[i-1] + ss - b[i-1]*n

if a==c:
    print('YES')
else:
    print('NO')


Failing test case input:
5
6 9 12 10 8

Expected output:
YES

Actual output:
NO


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

s = sum(a)

if s%(n*(n+1)
    print('NO')
    exit()

ss = s

b = [0 for i in range(n)]


for i in range(n):
    b[i-1] = (ss-a[i]+a[i-1])
    if b[i-1]<0:
        print('NO')
        exit()

c = [0 for i in range(n)]
for i in range(n):
    c[0]+=b[i]*(n-i)

for i in range(1,n):
    c[i] = c[i-1] + ss - b[i-1]*n

if a==c:
    print('YES')
else:
    print('NO')

Problem: p03808
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
A = list(map(int, input().split()))

K = sum(A) 
D = [A[i+1] - A[i] - K for i in range(-1, N-1)]

for d in D:
    if not (d <= 0 and d % N == 0):
        print(d)
        print("NO")
        break
else:
    print("YES")

Failing test case input:
4
-1 1 3 11

Expected output:
NO


Actual output:
-26
NO


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

K = sum(A) / sum(range(1, N+1))
D = [A[i+1] - A[i] - K for i in range(-1, N-1)]
for d in D:
    if not (d <= 0 and d % N == 0):
        print("NO")
        break
else:
    print("YES")

Problem: p03808
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import sys
input = sys.stdin.buffer.readline
N = int(input())
a = list(map(int, input().split()))
d = [0] * N
for i in range(1, N):
  d[i] = a[i] - a[i - 1]
d[0] = a[0] - a[-1]
l = min(a) 
r = max(a)
f = 0
for _ in range(100):
  m = int((l + r) / 2)
  if m == 0: break
  t = [m] * N
  c = 0
  for i in range(N):
    if (t[i] - d[i]) % N: break
    c += (t[i] - d[i]) 
    if c == m:
      f = 1
    else: f = 0
  if f: break
  if c == 0:
    r = m
  if c > m:
    l = m
if f: print("Yes")
else: print("No")

Failing test case input:
5
7 0 8 5 0

Expected output:
NO


Actual output:
No


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.buffer.readline
N = int(input())
a = list(map(int, input().split()))
d = [0] * N
for i in range(1, N):
  d[i] = a[i] - a[i - 1]
d[0] = a[0] - a[-1]
if sum(a) % (N * (N + 1) 
  print("NO")
  exit(0)
f = 0
m = sum(a) 
c = 0
for i in range(N):
  if m - d[i] < 0 or (m - d[i]) % N:
    f = 0
    break
  c += (m - d[i]) 
  if c == m:
    f = 1
  else: f = 0
if c == 0:
  r = m
if c > m:
  l = m
if f:
  print("YES")
else: print("NO")
Problem: p03808
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = int(input())
A = list(map(int, input().split()))

K = sum(A) 
D = [A[i+1] - A[i] - K for i in range(-1, N-1)]

for d in D:
    if not (d <= 0 and d % N == 0):
        print("NO")
        break
else:
    print("YES")

Failing test case input:
5
4 5 1 2 3

Expected output:
YES

Actual output:
NO


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

K = sum(A) / sum(range(1, N+1))
D = [A[i+1] - A[i] - K for i in range(-1, N-1)]
for d in D:
    if not (d <= 0 and d % N == 0):
        print("NO")
        break
else:
    print("YES")

Problem: p03808
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
n = int(input())
a = list(map(int,input().split()))

tot = sum(a)
cyc = tot
if(cyc == 0):
    print('NO')
    exit()
if( tot % cyc != 0):
    print('NO')
    exit()

cnt = 0
for i in range(n):
    tmp = a[i]-a[i-1]-cyc
    if(tmp%n != 0):
        print('NO')
        exit()
    cnt -= tmp

if(cnt == cyc):
    print('YES')
else:
    print('NO')

Failing test case input:
5
6 9 12 10 8

Expected output:
YES

Actual output:
NO


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

tot = sum(a)
cyc = tot
if(cyc == 0):
    print('NO')
    exit()
if( tot % cyc != 0):
    print('NO')
    exit()

cnt = 0
for i in range(n):
    tmp = a[i]-a[i-1]-cyc
    if(tmp%n != 0):
        print('NO')
        exit()
    cnt += abs(tmp

if(cnt == cyc):
    print('YES')
else:
    print('NO')

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


import sys


INF = float('inf')
MOD = 10 ** 9 + 7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x) - 1 for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def II(): return int(sys.stdin.readline())
def SI(): return input()


def main():
    n = II()
    A = LI()

    A.append(A[0])
    diff = set()
    for a1, a2 in zip(A[:-1], A[1:]):
        diff.add(a1 - a2)

    return 'Yes' if len(diff) <= 2 else 'NO'


print(main())


Failing test case input:
5
6 9 12 10 8

Expected output:
YES

Actual output:
Yes


Fixed submission (verdict: Accepted):


import sys


INF = float('inf')
MOD = 10 ** 9 + 7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x) - 1 for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def II(): return int(sys.stdin.readline())
def SI(): return input()


def main():
    n = II()
    A = LI()

    
    k, mod = divmod(sum(A), (n * (n + 1) 
    if mod:
        return 'NO'

    A.append(A[0])
    diff = []
    for a1, a2 in zip(A[:-1], A[1:]):
        diff.append(a2 - a1)

    
    

    
    return 'YES' if not any([(d - k) % n or d > k for d in diff]) else 'NO'


print(main())
Problem: p03808
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


import sys


INF = float('inf')
MOD = 10 ** 9 + 7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x) - 1 for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def II(): return int(sys.stdin.readline())
def SI(): return input()


def main():
    n = II()
    A = LI()

    
    k = sum(A) 

    A.append(A[0])
    diff = []
    for a1, a2 in zip(A[:-1], A[1:]):
        diff.append(a2 - a1)

    
    

    
    return 'YES' if not any([(d - k) % n or d > k for d in diff]) else 'NO'


print(main())


Failing test case input:
5
4 5 1 2 3

Expected output:
YES

Actual output:
NO


Fixed submission (verdict: Accepted):


import sys


INF = float('inf')
MOD = 10 ** 9 + 7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x) - 1 for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def II(): return int(sys.stdin.readline())
def SI(): return input()


def main():
    n = II()
    A = LI()

    
    k, mod = divmod(sum(A), (n * (n + 1) 
    if mod:
        return 'NO'

    A.append(A[0])
    diff = []
    for a1, a2 in zip(A[:-1], A[1:]):
        diff.append(a2 - a1)

    
    

    
    return 'YES' if not any([(d - k) % n or d > k for d in diff]) else 'NO'


print(main())

Problem: p03808
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
N=int(input())
A=list(map(int,input().split()))
total=0
for i in range(N):
  total+=A[i]
if total*2/((N+1)*N)%1!=0:
  print("NO")
  sys.exit()
times=int(total*2/((N+1)*N))
B=(times-A[0]+A[N-1])/N
for i in range(N-1):
  B+=(times-A[i+1]+A[i])/N
if B==times:
  print("YES")
else:
  print("NO")

Failing test case input:
4
4 2 22 2

Expected output:
NO


Actual output:
YES


Fixed submission (verdict: Accepted):
import sys
N=int(input())
A=list(map(int,input().split()))
total=0
for i in range(N):
  total+=A[i]
if total*2/((N+1)*N)%1!=0:
  print("NO")
  sys.exit()
times=int(total*2/((N+1)*N))
if (times-A[0]+A[N-1])/N%1!=0 or times-A[0]+A[N-1]<0:
  print("NO")
  sys.exit()
B=(times-A[0]+A[N-1])/N
for i in range(N-1):
  B+=(times-A[i+1]+A[i])/N
  if (times-A[i+1]+A[i])/N%1!=0 or times-A[i+1]+A[i]<0:
    print("NO")
    sys.exit()
if B==times:
  print("YES")
else:
  print("NO")

Problem: p03808
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
A = list(map(int, input().split()))
k = sum(A) 
d = [a1 - a2 + k for a1, a2 in zip(A, A[1:] + A[0:1])]
for di in d:
    if di < 0 or di % n:
        print('NO')
        break
else:
    print('YES')

Failing test case input:
5
6 9 12 10 8

Expected output:
YES

Actual output:
NO


Fixed submission (verdict: Accepted):
n = int(input())
A = list(map(int, input().split()))
k = sum(A) / (n * (n + 1) 
d = [a2 - a1 - k for a1, a2 in zip(A, A[1:] + A[0:1])]
for di in d:
    if di > 0 or di % n:
        print('NO')
        break
else:
    print('YES')
Problem: p03547
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b = map(str, input().split())
if a>b:
  print(">")
elif a==b:
  print(">")
else:
  print("<")

Failing test case input:
E E

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
a,b = map(str, input().split())
if a>b:
  print(">")
elif a==b:
  print("=")
else:
  print("<")

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




a = list(input())

if a[0] > a[1]:
    print(">")
elif a[0] == a[1]:
    print("=")
else:
    print("<")




Failing test case input:
D F

Expected output:
<


Actual output:
>


Fixed submission (verdict: Accepted):




a = list(input().split())
li = ["A","B","C","D","E","F"]



if a[0] > a[1]:
    print(">")
elif a[0] == a[1]:
    print("=")
else:
    print("<")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=input().split()
print("<" if a<b  else ">")


Failing test case input:
D D

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
a,b=input().split()
print("<" if a<b  else ">" if a>b  else "=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=input().split()
print("<" if a<b  else ">" if a==b  else "=")



Failing test case input:
F F

Expected output:
=

Actual output:
>


Fixed submission (verdict: Accepted):
a,b=input().split()
print("<" if a<b  else ">" if a>b  else "=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=input().split()
if x<y: print('<')
elif y<x: print('<')
else: print('=')

Failing test case input:
H E

Expected output:
>


Actual output:
<


Fixed submission (verdict: Accepted):
x,y=input().split()
if x<y: print('<')
elif x>y: print('>')
else: print('=')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(str, input().split())
if a == b:
	print('=')
elif a < b:
	print('<')
else:
	print('=')

Failing test case input:
E B

Expected output:
>


Actual output:
=


Fixed submission (verdict: Accepted):
a,b = map(str, input().split())
if a == b:
	print('=')
elif a < b:
	print('<')
else:
	print('>')

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


XY = input().split()
X = XY[0]
Y = XY[1]

x = ord(X)
y = ord(Y)

print(x)
print(y)

if(x < y):
    print("<")
elif(x > y):
    print(">")
else:
    print("=")


Failing test case input:
9 G

Expected output:
<


Actual output:
57
71
<


Fixed submission (verdict: Accepted):


XY = input().split()
X = XY[0]
Y = XY[1]

x = ord(X)
y = ord(Y)

if(x < y):
    print("<")
elif(x > y):
    print(">")
else:
    print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y = input().split()
if x == y:
	print("=")
if x < y:
	print("<")
else:
	print(">")


Failing test case input:
B B

Expected output:
=


Actual output:
=
>


Fixed submission (verdict: Accepted):
x,y = input().split()
if x == y:
	print("=")
elif x < y:
	print("<")
else:
	print(">")
Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y = map(str,input().split())

A = 10
B = 11
C = 12
D = 13
E = 14
F = 15

if X < Y:
    print('<')
else:
    print('>')

Failing test case input:
H H

Expected output:
=


Actual output:
>


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

A = 10
B = 11
C = 12
D = 13
E = 14
F = 15

if X < Y:
    print('<')
elif X>Y:
    print('>')
else:
    print('=')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y=input().split()
print("<" if X<Y else ">")

Failing test case input:
E E

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
X,Y=input().split()
print("<" if X<Y else ">" if X>Y else "=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from sys import stdin
x = stdin.readline()
y = stdin.readline()

if x > y:
 print('<')
elif x == y:
 print('=')
else:
 print('>')

Failing test case input:
K A

Expected output:
>


Actual output:
<


Fixed submission (verdict: Accepted):
from sys import stdin
x = stdin.readline().rstrip()
y = stdin.readline().rstrip()
if ord(x[0])<ord(x[2]):
 print ('<')
elif ord(x[0]) == ord(x[2]):
 print ('=')
else:
 print('>')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y = input().split()
if min(x,y) == x: print('>')
elif min(x,y) == y: print('<')
else: print('=')

Failing test case input:
H C

Expected output:
>


Actual output:
<


Fixed submission (verdict: Accepted):
x,y = input().split()
if x == y: print('=')
elif min(x,y) == x: print('<')
elif min(x,y) == y: print('>')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y = map(str, input().split())
if X > Y:
    print(">")
else:
    print("<")


Failing test case input:
A A

Expected output:
=


Actual output:
<


Fixed submission (verdict: Accepted):
X,Y = map(str, input().split())
if X > Y:
  print(">")
elif X == Y:
  print("=")
else:
  print("<")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=input().split()
print("<" if x<y else ">" if x<y else "=")

Failing test case input:
G B

Expected output:
>


Actual output:
=


Fixed submission (verdict: Accepted):
x,y=input().split()
print("<" if x<y else ">" if x>y else "=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
ori=list(input().split()) 
syu=sorted(ori)
if ori==syu:
    print('<')
else:
    print('>')

Failing test case input:
A A

Expected output:
=


Actual output:
<


Fixed submission (verdict: Accepted):
ori=list(input().split()) 
syu=sorted(ori)
if ori[0]==ori[1]:
    print('=')
elif ori!=syu:
    print('>')
else:
    print('<')

Problem: p03547
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x,y=input().split()
if x<y:
    print("<")
else:
    print(">")

Failing test case input:
A A

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
x,y=input().split()
if x<y:
    print("<")
elif x>y:
    print(">")
else:
    print("=")
Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=input().split();print("<" if a<b else ">")

Failing test case input:
B B

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
a,b=input().split();print("<" if a<b else ">" if a>b else "=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y = map(str, input().split())
if x < y:
    print("<")
elif x < y:
    print(">")
else:
    print("=")


Failing test case input:
M >

Expected output:
>


Actual output:
=


Fixed submission (verdict: Accepted):
x, y = map(str, input().split())
if x < y:
    print("<")
elif x > y:
    print(">")
else:
    print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A=int(10)
B=int(11)
C=int(12)
D=int(13)
E=int(14)
F=int(15)

N,M=input().split()
if N>M:
  print(">")
else:
  print("<")

Failing test case input:
D D

Expected output:
=


Actual output:
<


Fixed submission (verdict: Accepted):
A=int(10)
B=int(11)
C=int(12)
D=int(13)
E=int(14)
F=int(15)

N,M=input().split()
if N>M:
  print(">") 
elif N==M:
  print("=")
else:
  print("<")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, Y = map(ord, input().split())

if X < Y:
    print("<")
else:
    print(">")


Failing test case input:
A A

Expected output:
=


Actual output:
>


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

if X < Y:
    print("<")
elif X == Y:
    print("=")
else:
    print(">")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(input())
x = a[0]
y = a[1]

if x < y:
    print('<')
elif y < x:
    print('>')
else:
    print('=')

Failing test case input:
? J

Expected output:
<


Actual output:
>


Fixed submission (verdict: Accepted):
a = list(input())
x = a[0]
y = a[2]

if x < y:
    print('<')
elif y < x:
    print('>')
else:
    print('=')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
if a[0] < a[1]:
    print('>')
elif a[0] == a[1]:
    print('=')
else:
    print('<')

Failing test case input:
L >

Expected output:
>


Actual output:
<


Fixed submission (verdict: Accepted):
a = input().split()
if ord(a[0]) < ord(a[1]):
    print('<')
elif ord(a[0]) == ord(a[1]):
    print('=')
else:
    print('>')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y = map(str,input().split())

if X<Y:
    print("<")
elif Y>X:
    print(">")
else:
    print("=")


Failing test case input:
L B

Expected output:
>


Actual output:
=


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

if X<Y:
    print("<")
elif X>Y:
    print(">")
else:
    print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, Y = input().split()
if X > Y:
  print('<')
elif X == Y:
  print('=')
else:
  print('>')

Failing test case input:
L B

Expected output:
>


Actual output:
<


Fixed submission (verdict: Accepted):
X, Y = input().split()
if X > Y:
  print('>')
elif X == Y:
  print('=')
else:
  print('<')
Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, Y = input().split()

if X < Y:
    print("<")
else:
    print(">")


Failing test case input:
B B

Expected output:
=


Actual output:
>


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

if X < Y:
    print("<")
elif X > Y:
    print(">")
else:
    print("=")

Problem: p03547
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X, Y = input().split()
if X > Y:
    print(">")
elif Y < X:
    print("<")
else:
    print("=")

Failing test case input:
A E

Expected output:
<


Actual output:
=


Fixed submission (verdict: Accepted):
X, Y = input().split()
if X > Y:
    print(">")
elif Y > X:
    print("<")
else:
    print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
p,q=map(str,input().split())
if p>q:
  print('>')
else:
  print('<')

Failing test case input:
A A

Expected output:
=


Actual output:
<


Fixed submission (verdict: Accepted):
p,q=map(str,input().split())
if p>q:
  print('>')
elif p<q:
  print('<')
else:
  print('=')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=input()
print('>' if a[0]>a[1] else '<' if a[0]<a[1] else '=')

Failing test case input:
D F

Expected output:
<


Actual output:
>


Fixed submission (verdict: Accepted):
a,b=input().split()
print('>' if a>b else '<' if a<b else '=')

Problem: p03547
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X,Y = input().split()

if ord(X) <= ord(Y):
    print('<')
else:
    print('>')

Failing test case input:
E E

Expected output:
=


Actual output:
<


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

if ord(X) < ord(Y):
    print('<')
elif ord(X) == ord(Y):
    print('=')
else:
    print('>')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=input().split()
if x==y:
  print('=')
L=[x,y]
L.sort()
if L[0]==x:
  print('<')
else:
  print('>')


Failing test case input:
E E

Expected output:
=


Actual output:
=
<


Fixed submission (verdict: Accepted):
x,y=input().split()
L=[x,y]
L.sort()
if x==y:
  print('=')
elif L[0]==x:
  print('<')
else:
  print('>')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y = map(str, input().split())
print("==" if x == y else "<" if x < y else ">")

Failing test case input:
E E

Expected output:
=


Actual output:
==


Fixed submission (verdict: Accepted):
x, y = map(str, input().split())
print("=" if x == y else "<" if x < y else ">")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(ord, input().split())
print('<' if a<b else '>' if b>a else '=')

Failing test case input:
D A

Expected output:
>


Actual output:
=


Fixed submission (verdict: Accepted):
a,b=map(ord, input().split())
print('<' if a<b else '>' if a>b else '=')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input().split()

if S[1]>S[0]:
  print("<")
else:
  print(">")




Failing test case input:
F F

Expected output:
=

Actual output:
>


Fixed submission (verdict: Accepted):
S = input().split()

if S[1]>S[0]:
  print("<")
elif S[1]<S[0]:
  print(">")
else:
  print("=")
Problem: p03547
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b = map(str, input().split())
if a == b:
  print('=')
elif min(a, b) == a:
  print('>')
else:
  print('<')

Failing test case input:
A H

Expected output:
<


Actual output:
>


Fixed submission (verdict: Accepted):
a, b = input().split()
if a == b:
  print('=')
elif a > b:
  print('>')
else:
  print('<')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
ori=list(input().split())
syu=sorted(ori)
if ori==syu:
    print('<')
else:
    print('>')
print(syu)
print(ori)

Failing test case input:
H D

Expected output:
>


Actual output:
>
['D', 'H']
['H', 'D']


Fixed submission (verdict: Accepted):
ori=list(input().split()) 
syu=sorted(ori)
if ori[0]==ori[1]:
    print('=')
elif ori!=syu:
    print('>')
else:
    print('<')

Problem: p03547
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x,y = map(ord,input().split())
print("<" if x < y else ">")


Failing test case input:
D D

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
x,y = map(ord,input().split())
print("<" if x < y  else ">" if x > y else "=")

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

XY = list(input().split())

XYs = list(XY)
XYs.sort()

if XY == XYs:
    print("<")
else:
    print(">")

Failing test case input:
B B

Expected output:
=


Actual output:
<


Fixed submission (verdict: Accepted):

XY = list(input().split())

XYs = list(XY)
XYs.sort()
if XY[0]==XY[1]:
    print("=")
elif XY == XYs:
    print("<")
else:
    print(">")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y = input().split()
if x>y: print(x)
else: print(y)

Failing test case input:
K A

Expected output:
>


Actual output:
K


Fixed submission (verdict: Accepted):
x,y = input().split()
if x>y: print('>')
elif x<y: print('<')
else: print('=')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y = input().split()
if x < y: print('<')
else: print('>')

Failing test case input:
D D

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
x, y = input().split()
if x < y: print('<')
elif x == y: print('=')
else: print('>')

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


hex_char = list(input().split())

if hex_char[0] > hex_char[1]:
    print('>')
if hex_char[0] < hex_char[1]:
    print('<')
else:
    print('=')


Failing test case input:
J A

Expected output:
>


Actual output:
>
=


Fixed submission (verdict: Accepted):


hex_char = list(input().split())

if hex_char[0] > hex_char[1]:
    print('>')
elif hex_char[0] < hex_char[1]:
    print('<')
else:
    print('=')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y = input().split()
if x > y:
    print('>')
else:
    print('<')

Failing test case input:
H H

Expected output:
=


Actual output:
<


Fixed submission (verdict: Accepted):
x, y = input().split()
if x > y:
    print('>')
elif x == y:
    print('=')
else:
    print('<')
Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    while True:
        try:
            inputList = input().split()
            firstChar = inputList[0]
            secondChar = inputList[1]
            firstNum = ord(firstChar)
            secondNum = ord(secondChar)
            if(firstNum > secondNum):
                print(">")
                print("%d>%d." % (firstNum-55, secondNum-55))
            elif(firstNum < secondNum):
                print("<")
                print("%d<%d." % (firstNum-55, secondNum-55))
            elif(firstNum == secondNum):
                print("=")
                print("%d=%d." % (firstNum-55, secondNum-55))
        except:
            break
main()

Failing test case input:
I B

Expected output:
>


Actual output:
>
18>11.


Fixed submission (verdict: Accepted):
def main():
    while True:
        try:
            inputList = input().split()
            firstChar = inputList[0]
            secondChar = inputList[1]
            firstNum = ord(firstChar)
            secondNum = ord(secondChar)
            if(firstNum > secondNum):
                print(">")
            elif(firstNum < secondNum):
                print("<")
            elif(firstNum == secondNum):
                print("=")
        except:
            break
main()

Problem: p03547
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
s = input().split()
if s[0] == s[1]:
  print("=")
elif tuple(sorted(s)) == tuple(s):
  print(">")
else:
  print("<")

Failing test case input:
M ?

Expected output:
>


Actual output:
<


Fixed submission (verdict: Accepted):
s = input().split()
if s[0] == s[1]:
  print("=")
elif tuple(sorted(s)) == tuple(s):
  print("<")
else:
  print(">")

Problem: p03547
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
X, Y = input().split()
print('<' if X < Y else '>')

Failing test case input:
D D

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
X, Y = input().split()
print('<' if X < Y else '>' if X > Y else '=')

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








def main():
    xy = sys.stdin.read().split()
    if xy == sorted(xy): print('<')
    else: print('>')


if __name__ == "__main__":
    
    main()


Failing test case input:
F F

Expected output:
=

Actual output:
<


Fixed submission (verdict: Accepted):
import sys








def main():
    xy = sys.stdin.read().split()
    if xy[0] == xy[1]: print('=')
    else:
        if xy == sorted(xy): print('<')
        else: print('>')


if __name__ == "__main__":
    
    main()

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()

a, b = s.split()
if a.isdigit():
  a = int(a)
else:
  a = ord(a) - 50

if b.isdigit():
  b = int(b)
else:
  b = ord(b) - 50

if a > b:
  print("<")
elif a < b:
  print(">")

Failing test case input:
J H

Expected output:
>


Actual output:
<


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

a, b = s.split()
if a.isdigit():
  a = int(a)
else:
  a = ord(a) - 50

if b.isdigit():
  b = int(b)
else:
  b = ord(b) - 50

if a < b:
  print("<")
elif a > b:
  print(">")
else:
  print("=")
Problem: p03547
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b=[i for i in input().split()]
if a < b:
    print("<")
if a > b:
    print(">")
else:
    print("=")

Failing test case input:
E F

Expected output:
<


Actual output:
<
=


Fixed submission (verdict: Accepted):
a,b=[i for i in input().split()]
if a < b:
    print("<")
elif a > b:
    print(">")
else:
    print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input()
A=ord(S[0])
B=ord(S[2])
print(A,B)
if A>B:
  print(">")
elif A<B:
  print("<")
else:
  print("=")


Failing test case input:
H G

Expected output:
>


Actual output:
72 71
>


Fixed submission (verdict: Accepted):
S=input()
A=ord(S[0])
B=ord(S[2])

if A>B:
  print(">")
elif A<B:
  print("<")
else:
  print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a =list(input().split())
if a == sorted(a):
    print("<")
else: print(">")

Failing test case input:
H H

Expected output:
=


Actual output:
<


Fixed submission (verdict: Accepted):
a =list(input().split())
if a[0] == a[1]:
    print("=")
elif a == sorted(a):
    print("<")
else: print(">")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y=input().split()
if X < Y:
    print("<")
elif X < Y:
    print(">")
else:
    print("=")

Failing test case input:
K ?

Expected output:
>


Actual output:
=


Fixed submission (verdict: Accepted):
X,Y=input().split()
if X < Y:
    print("<")
elif X > Y:
    print(">")
else:
    print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y=map(str,input().split())
S=[X,Y]
l=sorted(S)
if(S[0]==l[0]):
  print("<")
else:
  print(">")

Failing test case input:
F F

Expected output:
=

Actual output:
<


Fixed submission (verdict: Accepted):
X,Y=map(str,input().split())
S=[X,Y]
l=sorted(S)
if(S[0]==S[1]):
  print("=")
else:
  if(S[0]==l[0]):
    print("<")
  else:
    print(">")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=input().split()
if x==y:
    print('"')
else:
    print(">" if x>y else "<")

Failing test case input:
A A

Expected output:
=


Actual output:
"


Fixed submission (verdict: Accepted):
x,y=input().split()
if x==y:
    print('=')
else:
    print(">" if x>y else "<")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y = input().split()

if x < y:
  print('<')
else:
  print('>')


Failing test case input:
E E

Expected output:
=


Actual output:
>


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

if x < y:
  print('<')
elif x > y:
  print('>')
else:
  print('=')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=list(input().split())
b=[0]*2
for i in range(2):
    b[i]=a[i]
a.sort()
if a==b:
    print("<")
else:
    print(">")

Failing test case input:
E E

Expected output:
=


Actual output:
<


Fixed submission (verdict: Accepted):
a=list(input().split())
b=[0]*2
for i in range(2):
    b[i]=a[i]
a.sort()
if a[0]==a[1]:
    print("=")
else:
    if a==b:
        print("<")
    else:
        print(">")
Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=input().split()

if(x<y):
  print(x+"<"+y)
elif (x==y):
  print(x+"="+y)
else:
  print(x+">"+y)

Failing test case input:
> H

Expected output:
<


Actual output:
><H


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

if(x<y):
  print("<")
elif (x==y):
  print("=")
else:
  print(">")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x=input().split()
if sorted(x) == x:
  s='='
elif sorted(x)[0] == x[0]:
  s='<'
else:
  s='>'
print(s)

Failing test case input:
A H

Expected output:
<


Actual output:
=


Fixed submission (verdict: Accepted):
s=list(input().split())
ss=sorted(s)
if s[0]==s[1]:
  r='='
elif s==ss:
  r='<'
else:
  r='>'
print(r)

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=input().split()
print([[">", "=", "<"][i] for i in range(3) if [x>y, x==y, x<y][i]])

Failing test case input:
F D

Expected output:
>


Actual output:
>

Fixed submission (verdict: Accepted):
x,y=input().split()
print(*[[">", "=", "<"][i] for i in range(3) if [x>y, x==y, x<y][i]])

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=map(str,input().split())
A=int(ord(a))
B=int(ord(b))
if A<B: print("<")
else: print(">")

Failing test case input:
A A

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
a,b=map(str,input().split())
A=int(ord(a))
B=int(ord(b))
if A<B: print("<")
elif A>B: print(">")
else: print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(str, input().split())

if a > b:
    print(">")
else:
    print("<")

Failing test case input:
A A

Expected output:
=


Actual output:
<


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

if a > b:
    print(">")
elif a == b:
    print("=")
else:
    print("<")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y = input().split()
if x < y:
  print("<")
elif x == y:
  print("=")
elif x == y:
  print(">")

Failing test case input:
F E

Expected output:
>


Actual output:

Fixed submission (verdict: Accepted):
x, y = input().split()
if x < y:
  print("<")
elif x == y:
  print("=")
else:
  print(">")

Problem: p03547
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x, y = input().split()
if x > y:
  print('<')
elif x == y:
  print('=')
else:
  print('>')

Failing test case input:
D B

Expected output:
>


Actual output:
<


Fixed submission (verdict: Accepted):
x, y = input().split()
if x > y:
  print('>')
elif x == y:
  print('=')
else:
  print('<')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(str, input().split())

if a>b:
    print (">")
elif b<a:
    print ("<")
else:
    print ("=")

Failing test case input:
C E

Expected output:
<


Actual output:
=


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

if x>y:
    print (">")
elif x < y: 
    print ("<")
else:
    print ("=")
Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

a,b=input().split()
if a>b:
    print(">")
else:
    print("<")

Failing test case input:
C C

Expected output:
=


Actual output:
<


Fixed submission (verdict: Accepted):

a,b=input().split()
if a>b:
    print(">")
elif a==b:
    print("=")
else:
    print("<")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y = input().split()
print('<' if x<y else '=' if x==y else '<')


Failing test case input:
K C

Expected output:
>


Actual output:
<


Fixed submission (verdict: Accepted):
x,y = input().split()
print('<' if x<y else '=' if x==y else '>')

Problem: p03547
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
X,Y = input().split()

if ord(X) < ord(Y):
    print('<')
else:
    print('>')


Failing test case input:
E E

Expected output:
=


Actual output:
>


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

if ord(X) < ord(Y):
    print('<')
elif ord(X) == ord(Y):
    print('=')
else:
    print('>')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = list(map(str,input().split()))
if max(x)==x[0]:
    print('>')
elif max(x)==x[1]:
    print('<')
else:
    print('=')
        

Failing test case input:
A A

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
x = list(map(str,input().split()))
if x[0]==x[1]:
    print('=')
elif max(x)==x[0]:
    print('>')
else:
    print('<')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
	x,y = input().split()
	if x<y:
	    print("<")
	else:
	    print(">")

if __name__ == "__main__": main()

Failing test case input:
E E

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
def main():
	x,y = input().split()
	if x<y:
	    print("<")
	elif x==y:
	    print("=")
	else:
	    print(">")

if __name__ == "__main__": main()

Problem: p03547
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
X,Y = input().split()
A,B,C,D,E,F=[10,11,12,13,14,15]
if X>Y:
    print(">")
if X==Y:
    print("=")
else:
    print("<")



Failing test case input:
D B

Expected output:
>


Actual output:
>
<


Fixed submission (verdict: Accepted):
X,Y = input().split()
if X>Y:
    print(">")
elif X<Y:
    print("<")
else:
    print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y = input().split()
A, B, C, D, E, F = 10, 11, 12, 13, 14, 15

if x < y:
    print("<")
elif x == y:
    print("=")
else:
    print("<")

Failing test case input:
K B

Expected output:
>


Actual output:
<


Fixed submission (verdict: Accepted):
x, y = input().split()
A, B, C, D, E, F = 10, 11, 12, 13, 14, 15

if x < y:
    print("<")
elif x == y:
    print("=")
else:
    print(">")

Problem: p03547
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x,y=map(str,input().split())
if x<y:print('<')
else:print('>')

Failing test case input:
C C

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
x,y=map(str,input().split())
if x<y:
  print('<')
elif x==y:
  print('=')
else:
  print('>')
Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y = input().strip().split()
if X>Y:
    print(">")
elif Y<X:
    print("<")
else:
    print("=")

Failing test case input:
A B

Expected output:
<

Actual output:
=


Fixed submission (verdict: Accepted):
X,Y = input().strip().split()
if X>Y:
    print(">")
elif X<Y:
    print("<")
else:
    print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y = input().split()
if ord(x) > ord(y):
    print(">")
else:
    print("<")


Failing test case input:
H H

Expected output:
=


Actual output:
<


Fixed submission (verdict: Accepted):
x, y = input().split()
if ord(x) == ord(y):
    print("=")
elif ord(x) > ord(y):
    print(">")
else:
    print("<")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x=input().split()
y=sorted(x)
if y == x:
  s='='
elif y[0] == x[0]:
  s='<'
else:
  s='>'
print(s)

Failing test case input:
? B

Expected output:
<


Actual output:
=


Fixed submission (verdict: Accepted):
s=list(input().split())
ss=sorted(s)
if s[0]==s[1]:
  r='='
elif s==ss:
  r='<'
else:
  r='>'
print(r)

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=input().split()
print(x)
if x<y:c='<'
elif x>y:c='>'
else: c='='
print(c)

Failing test case input:
K B

Expected output:
>


Actual output:
K
>


Fixed submission (verdict: Accepted):
x,y=input().split()
if x<y:c='<'
elif x>y:c='>'
else: c='='
print(c)

Problem: p03547
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
S = list(map(str, input().split()))
if S == S.sort():
    print("<")
else:
    print(">")

Failing test case input:
A C

Expected output:
<


Actual output:
>


Fixed submission (verdict: Accepted):
S = list(map(str, input().split()))
if S[0] == S[1]:
    print("=")
    exit()
if S == sorted(S):
    print("<")
else:
    print(">")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y = input().split()
if x > y:
  print("<")
elif x < y:
  print(">")
else:
  print("=")

Failing test case input:
A F

Expected output:
<


Actual output:
>


Fixed submission (verdict: Accepted):
x,y = input().split()
if x < y:
  print("<")
elif x > y:
  print(">")
else:
  print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X, Y = input().split()

if X == Y:
    print('=')
if X > Y:
    print('>')
else:
    print('<')


Failing test case input:
E E

Expected output:
=


Actual output:
=
<


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

if X == Y:
    print('=')
elif X > Y:
    print('>')
else:
    print('<')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=list(input().split())

if(S[0]<S[1]):
    print("<")
elif(S[0]>S[1]):
    print(">")
else:
    print("==")


Failing test case input:
F F

Expected output:
=

Actual output:
==


Fixed submission (verdict: Accepted):
S=list(input().split())

if(S[0]<S[1]):
    print("<")
elif(S[0]>S[1]):
    print(">")
else:
    print("=")
Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = input().split()
if ord(a) > ord(b):
  print(">")
else:
  print("<")

Failing test case input:
E E

Expected output:
=


Actual output:
<


Fixed submission (verdict: Accepted):
a,b = input().split()
if ord(a) > ord(b):
  print(">")
elif ord(a) == ord(b):
  print("=")
else:
  print("<")

Problem: p03547
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
X,Y = input().split()
A,B,C,D,E,F=[10,11,12,13,14,15]
if X>Y:
    print("<")
if X==Y:
    print("=")
else:
    print(">")



Failing test case input:
A I

Expected output:
<


Actual output:
>


Fixed submission (verdict: Accepted):
X,Y = input().split()
if X>Y:
    print(">")
elif X<Y:
    print("<")
else:
    print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=input().split()
print([[">", "=", "<"] for i in range(3) if [x>y, x==y, x<y][i]])

Failing test case input:
J C

Expected output:
>


Actual output:
[['>', '=', '<']]


Fixed submission (verdict: Accepted):
x,y=input().split()
print(*[[">", "=", "<"][i] for i in range(3) if [x>y, x==y, x<y][i]])

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=input().split()
if ord(x)>ord(y):
  print('>')
elif ord(x)==ord(y):
  print('==')
else:
  print('<')

Failing test case input:
H H

Expected output:
=


Actual output:
==


Fixed submission (verdict: Accepted):
x,y=input().split()
if ord(x)>ord(y):
  print('>')
elif ord(x)==ord(y):
  print('=')
else:
  print('<')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
li =list(map(str,input().split()))

li2 = sorted(li)

if li == li2:
  print("<")
  
else:
  print(">")
  
  

Failing test case input:
D D

Expected output:
=


Actual output:
<


Fixed submission (verdict: Accepted):
li =list(map(str,input().split()))

li2 = sorted(li)

if li[0] == li[1]:
  print("=")

elif li == li2:
  print("<")
  
else:
  print(">")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y = input().split()
if min(x,y) == x: print('<')
elif min(x,y) == y: print('>')
else: print('=')

Failing test case input:
F F

Expected output:
=

Actual output:
<


Fixed submission (verdict: Accepted):
x,y = input().split()
if x == y: print('=')
elif min(x,y) == x: print('<')
elif min(x,y) == y: print('>')

Problem: p03547
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n, nn = input().split()
if n == nn:
    print('=')
if n > nn:
    print('>')
else:
    print('<')

Failing test case input:
F F

Expected output:
=

Actual output:
=
<


Fixed submission (verdict: Accepted):
n, nn = input().split()
if n == nn:
    print('=')
elif n > nn:
    print('>')
elif n < nn:
    print('<')

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y=input().split()
print('<' if x<y else '>')

Failing test case input:
H H

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
x,y=input().split()
print('<' if x<y else ('=' if x==y else '>'))
Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    inputList = input().split()
    firstChar = inputList[0]
    secondChar = inputList[1]
    firstNum = ord(firstChar)
    secondNum = ord(secondChar)
    if(firstNum > secondNum):
        print(">")
        print("%d>%d." % (firstNum-55, secondNum-55))
    elif(firstNum < secondNum):
        print("<")
        print("%d<%d." % (firstNum-55, secondNum-55))
    elif(firstNum == secondNum):
        print("=")
        print("%d=%d." % (firstNum-55, secondNum-55))

main()

Failing test case input:
A F

Expected output:
<


Actual output:
<
10<15.


Fixed submission (verdict: Accepted):
def main():
    while True:
        try:
            inputList = input().split()
            firstChar = inputList[0]
            secondChar = inputList[1]
            firstNum = ord(firstChar)
            secondNum = ord(secondChar)
            if(firstNum > secondNum):
                print(">")
            elif(firstNum < secondNum):
                print("<")
            elif(firstNum == secondNum):
                print("=")
        except:
            break
main()

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b=input().split()
print(type(a))
print(type(b))
if a<b:
	print("<")
elif b<a:
	print(">")
else :
	print("=")

Failing test case input:
J C

Expected output:
>


Actual output:
<class 'str'>
<class 'str'>
>


Fixed submission (verdict: Accepted):
a,b=input().split()
if a<b:
	print("<")
elif b<a:
	print(">")
else :
	print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y = map(str,input().split())

if X<Y:
    print("<")
else:
    print(">")


Failing test case input:
F F

Expected output:
=

Actual output:
>


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

if X<Y:
    print("<")
elif X>Y:
    print(">")
else:
    print("=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = input().split()
print("<" if a<b else ">")

Failing test case input:
D D

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
a,b = input().split()
print("<" if a<b else ">" if a>b else "=")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b = map(str,input().split())
A = 1
B = 2
C = 3
D = 4
E = 5
F = 6

if a < b:
    print("<")
else:
    print(">")

Failing test case input:
B B

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
a,b = map(str,input().split())
A = 1
B = 2
C = 3
D = 4
E = 5
F = 6
     
if a < b:
    print("<")
elif a == b:
    print("=")
else:
    print(">")

Problem: p03547
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x, y = input().split()
if x < y:
    print("<")
else:
    print(">")

Failing test case input:
H H

Expected output:
=


Actual output:
>


Fixed submission (verdict: Accepted):
x, y = input().split()
if x < y:
    print("<")
elif x == y:
    print("=")
else:
    print(">")