ZhenlongDai/ACPR huggingface dataset:
Problem: p03909
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
alpha = 'abcdefghijklmnopqrstuvwxyz'
h,w = map(int,input().split())
for i in range(h):
    A = list(map(str,input().split()))
    for j in range(w):
        if A[j] == 'snuke':
            print(alpha[j]+str(i))
            exit()

Failing test case input:
15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake ekans snake
snake snake snake snake snake snake snake snuke snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snakf snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake ekans snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake

Expected output:
H6


Actual output:
h5


Fixed submission (verdict: Accepted):
alpha = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
h,w = map(int,input().split())
for i in range(h):
    A = list(map(str,input().split()))
    for j in range(w):
        if A[j] == 'snuke':
            ans = alpha[j]+str(i+1)
print(ans)

Problem: p03909
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
h,w=map(int,input().split())
s=[list(input().split()) for _ in range(h)]
for i in range(h):
  for j in range(w):
    if s[i][j]=='snuke':
      print(chr(ord('A')+j) +str(i))
      break

Failing test case input:
15 10
snake smake snake knase sneka snake snake snake snake snake
snake snake ekans snake snake snake rnake ekans ekans snake
snake akeos ekans snake snake elans sneka snake rnake snake
snake snake sn`ke fnask snake snake ekans snake snake snake
ekans snake snake naske ekans ekans snake tnake snake snake
sneka snake snake snake snake snake snake snuke snake snake
rnakd snake snake snake snake snake snbke ekans sneka snake
snake enaks ekans sanje snake sn`ke snake snake snake snake
snake tnake smake snake snake skane snake knase snake snake
knase sneka anske ekans snake snbke snake ekans snake snake
sanke snake snake snake ekbns snake tnake ekans snake snake
snake snake snake snake snake snkaf snake soake snale skane
snake snake snake snake snake snake snbke snake ekans snake
snake snake sndka snake ejans snake snaje sneka ekans snake
snake snake ekans snake sn`ke snake snake snake sneka snake

Expected output:
H6


Actual output:
H5


Fixed submission (verdict: Accepted):
h,w=map(int,input().split())
s=[list(input().split()) for _ in range(h)]
for i in range(h):
  for j in range(w):
    if s[i][j]=='snuke':
      print(chr(ord('A')+j)+str(i+1))
      break
Problem: p03909
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
h,w=map(int,input().split())
A=[input().split() for _ in range(h)]
for a in range(h):
  for b in range(w):
    if A[a][b]=="snuke":
      print("{}{}".format(a+1,chr(ord("A")+b)))
      break
    

Failing test case input:
15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snuke snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snakf snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake ekans snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake

Expected output:
H6


Actual output:
6H


Fixed submission (verdict: Accepted):
h,w=map(int,input().split())
A=[input().split() for _ in range(h)]
for a in range(h):
  for b in range(w):
    if A[a][b]=="snuke":
      print("{1}{0}".format(a+1,chr(ord("A")+b)))
      break

Problem: p03909
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
H,W = map(int,input().split())
for i in range(H):
  S = list(map(str,input().split()))
  for j in range(W):
    if S[j] == "snuke":
      print(chr(65+i)+str(i+1))
      sys.exit()
    

Failing test case input:
15 10
snake smake snake knase sneka snake snake snake snake snake
snake snake ekans snake snake snake rnake ekans ekans snake
snake akeos ekans snake snake elans sneka snake rnake snake
snake snake sn`ke fnask snake snake ekans snake snake snake
ekans snake snake naske ekans ekans snake tnake snake snake
sneka snake snake snake snake snake snake snuke snake snake
rnakd snake snake snake snake snake snbke ekans sneka snake
snake enaks ekans sanje snake sn`ke snake snake snake snake
snake snake smake snake snake skane snake knase snake snake
knase sneka anske ekans snake snbke snake ekans snake snake
sanke snake snake snake snbke snake tnake ekans snake snake
snake snake snake snake snake snkaf snake soake snale skane
snake snake snake snake snake snake snbke snake ekans snake
snake snake sndka snake ejans snake snaje sneka ekans snake
snake snake ekans snake sn`ke snake snake snake sneka snake

Expected output:
H6


Actual output:
F6


Fixed submission (verdict: Accepted):
import sys
H,W = map(int,input().split())
for i in range(H):
  S = list(map(str,input().split()))
  for j in range(W):
    if S[j] == "snuke":
      print(chr(65+j)+str(i+1))
      sys.exit()
Problem: p03909
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
H,W=map(int,input().split())

for i in range(1,H+1):
    Si=list(input().split())
    print(Si)
    if 'snuke' in Si:
        j=Si.index('snuke')
        print(chr(ord('A')+j)+str(i))
        break

Failing test case input:
15 10
snake smake snake knase sneka snake snake snake snake snake
snake snake ekans snake snake snake rnake ekans ekans snake
snake sneka ekans snake snake elans sneka snake snake snake
snake snake sn`ke fnask snake snake ekans snake snake snake
ekans snake snake naske ekans ekans snake tnake snake snake
sneka snake snake snake snake snake snake snuke snake snake
snakd snake snake snake snake snake snbke ekans sneka snake
snake enaks snake sanje snake sn`ke snake snake snake snake
snake snake smake snake snake skane snake knase snake snake
knase snake anske ekans snake snbke snake ekans snake snake
sanke snake snake snake snake snake snake ekans snake snake
snake snake snake snake snake snkae snake soake snale skane
snake snake snake snake snake snake snake snake ekans snake
snake snake sndka snake snaje snake snake sneka ekans snake
snake snake ekans snake sn`ke snake snake snake sneka snake

Expected output:
H6


Actual output:
['snake', 'smake', 'snake', 'knase', 'sneka', 'snake', 'snake', 'snake', 'snake', 'snake']
['snake', 'snake', 'ekans', 'snake', 'snake', 'snake', 'rnake', 'ekans', 'ekans', 'snake']
['snake', 'sneka', 'ekans', 'snake', 'snake', 'elans', 'sneka', 'snake', 'snake', 'snake']
['snake', 'snake', 'sn`ke', 'fnask', 'snake', 'snake', 'ekans', 'snake', 'snake', 'snake']
['ekans', 'snake', 'snake', 'naske', 'ekans', 'ekans', 'snake', 'tnake', 'snake', 'snake']
['sneka', 'snake', 'snake', 'snake', 'snake', 'snake', 'snake', 'snuke', 'snake', 'snake']
H6


Fixed submission (verdict: Accepted):
H,W=map(int,input().split())
S=[]
for i in range(H):
    S.append(input().split())
for i in range(H):
    for j in range(W):
        if S[i][j]=='snuke':
            print(chr(ord('A')+j)+str(i+1))
Problem: p03909
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = map(int, input().split())
A = 'ABCDEFGHIJKLMN'
ans = ""
for i in range(a):
  t = list(input().split())
  if 'snuke' in t:
    ans += A[i]
    ans += str(t.index("snuke") + 1)
print(ans)

Failing test case input:
15 10
snake smake snake knase sneka snake snake snake snake snake
snake snake snake snake snake snake rnake snake snake snake
snake snake ekans snake snake elans sneka snake snake snake
snake snake snake snafk snake snake snake snake snake snake
snake snake snake anske snake snake snake tnake snake snake
sneka snake snake snake snake snake snake snuke snake snake
snakd snake snake snake snake snake snake ekans sneka snake
snake snake snake sanje snake snake snake snake snake snake
snake snake smake snake snake skane snake snake snake snake
snake snake anske ekans snake snbke snake ekans snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake ekans snake
snake snake snake snake snaje snake snake snake ekans snake
snake snake snake snake snake snake snake snake snake snake

Expected output:
H6


Actual output:
F8


Fixed submission (verdict: Accepted):
a, b = map(int, input().split())
A = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
ans = ""
for i in range(a):
  t = list(input().split())
  if 'snuke' in t:
    ans += A[t.index("snuke")]
    ans += str(i + 1)
print(ans)

Problem: p03909
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
alpha = 'abcdefghijklmnopqrstuvwxyz'
h,w = map(int,input().split())
for i in range(h):
    A = list(map(str,input().split()))
    for j in range(w):
        if A[j] == 'snuke':
            print(alpha[j]+str(i+1))
            exit()

Failing test case input:
15 10
snake smake snake knase sneka snake snake snake snake snake
snake snake snake snake snake snake rnake snake snake snake
snake snake ekans snake snake elans sneka snake snake snake
snake snake snake snafk snake snake snake snake snake snake
snake snake snake anske snake snake snake tnake snake snake
sneka snake snake snake snake snake snake snuke snake snake
snakd snake snake snake snake snake snake ekans sneka ekans
snake snake snake sanje snake snake snake snake snake snake
snake snake smake snake snake skane snake snake snake snake
snake snake anske ekans snake snbke snake ekans snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake ekans snake
snake snake snake snake snaje snake snake snake ekans snake
snake snake snake snake snake snake snake snake sneka snake

Expected output:
H6


Actual output:
h6


Fixed submission (verdict: Accepted):
alpha = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
h,w = map(int,input().split())
for i in range(h):
    A = list(map(str,input().split()))
    for j in range(w):
        if A[j] == 'snuke':
            ans = alpha[j]+str(i+1)
print(ans)
Problem: p03909
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from string import ascii_uppercase
H, W = [int(i) for i in input().split()]
S = [input().split() for _ in range(H)]
for h in range(H):
    for w in range(W):
        if S[h][w] == "snuke":
            print("{}{}".format(ascii_uppercase[w], h))


Failing test case input:
15 10
snake smake snake knase sneka snake snake snake snake snake
snake snake ekans snake snake snake rnake ekans snake snake
snake sneka ekans snake snake elans sneka snake snake snake
snake snake sn`ke fnask snake snake ekans snake snake snake
ekans snake snake naske ekans snake snake tnake snake snake
sneka snake snake snake snake snake snake snuke snake snake
snakd snake snake snake snake snake snbke ekans sneka snake
snake enaks snake sanje snake snake snake snake snake snake
snake snake smake snake snake skane snake knase snake snake
knase snake anske ekans snake snbke snake ekans snake snake
sanke snake snake snake snake snake snake ekans snake snake
snake snake snake snake snake snake snake soake snale skane
snake snake snake snake snake snake snake snake ekans snake
snake snake sndka snake snaje snake snake sneka ekans snake
snake snake ekans snake sn`ke snake snake snake sneka snake

Expected output:
H6


Actual output:
H5


Fixed submission (verdict: Accepted):
from string import ascii_uppercase
H, W = [int(i) for i in input().split()]
S = [input().split() for _ in range(H)]
for h in range(H):
    for w in range(W):
        if S[h][w] == "snuke":
            print("{}{}".format(ascii_uppercase[w], h+1))
Problem: p03909
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
h,w = map(int,input().split())
for i in range(h):
    dum = list(input().split())
    print(dum)
    for j in range(w):
        if dum[j] == "snuke":
            ans1 = chr(ord("A") + j)
            print(ans1 + (str(i + 1)))
            exit()



Failing test case input:
15 10
snake smake snake knase sneka snake snake snake snake snake
snake snake ekans snake snake snake rnake ekans snake snake
snake sneka ekans snake snake elans sneka snake snake snake
snake snake snake fnask snake snake ekans snake snake snake
ekans snake snake anske ekans snake snake tnake snake snake
sneka snake snake snake snake snake snake snuke snake snake
snakd snake snake snake snake snake snake ekans sneka ekans
snake enaks snake sanje snake snake snake snake snake snake
snake snake smake snake snake skane snake knase snake snake
knase snake anske ekans snake snbke snake ekans snake snake
sanke snake snake snake snake snake snake ekans snake snake
snake snake snake snake snake snake snake snake snale skane
snake snake snake snake snake snake snake snake ekans snake
snake snake sndka snake snaje snake snake sneka ekans snake
snake snake ekans snake sn`ke snake snake snake sneka snake

Expected output:
H6


Actual output:
['snake', 'smake', 'snake', 'knase', 'sneka', 'snake', 'snake', 'snake', 'snake', 'snake']
['snake', 'snake', 'ekans', 'snake', 'snake', 'snake', 'rnake', 'ekans', 'snake', 'snake']
['snake', 'sneka', 'ekans', 'snake', 'snake', 'elans', 'sneka', 'snake', 'snake', 'snake']
['snake', 'snake', 'snake', 'fnask', 'snake', 'snake', 'ekans', 'snake', 'snake', 'snake']
['ekans', 'snake', 'snake', 'anske', 'ekans', 'snake', 'snake', 'tnake', 'snake', 'snake']
['sneka', 'snake', 'snake', 'snake', 'snake', 'snake', 'snake', 'snuke', 'snake', 'snake']
H6


Fixed submission (verdict: Accepted):
h,w = map(int,input().split())
for i in range(h):
    dum = list(input().split())
    
    for j in range(w):
        if dum[j] == "snuke":
            ans1 = chr(ord("A") + j)
            print(ans1 + (str(i + 1)))
            exit()
Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input("R: "))

if(R < 1200):
    print("ABC")
elif(R < 2800):
    print("ARC")
else:
    print("AGC")
    

Failing test case input:
1199

Expected output:
ABC

Actual output:
R: ABC


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

if(r < 1200):
    print("ABC")
elif(r < 2800):
    print("ARC")
else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input())
if a > 2800:
	print('AGC')
elif a>1200:
	print('ARC')
else:
	print('ABC')

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
a=int(input())
if a >= 2800:
	print('AGC')
elif a>=1200:
	print('ARC')
else:
	print('ABC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R=int(input())
if R<1200:
    print('ABC')
elif 4208>R>=1200:
    print('ARC')
else:
    print('AGC')

Failing test case input:
4178

Expected output:
AGC


Actual output:
ARC


Fixed submission (verdict: Accepted):
R=int(input())
if R<1200:
    print('ABC')
elif 2800>R>=1200:
    print('ARC')
else:
    print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
if r <= 1200:
  print("ABC")
elif r <= 2800:
  print("ARC")
else:
  print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
r = int(input())
if r < 1200:
  print("ABC")
elif r < 2800:
  print("ARC")
else:
  print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())

if R < 1200:
    print('ABC')
elif R < 2800:
    print('ARC')
elif R < 1200:
    print('AGC')



Failing test case input:
4178

Expected output:
AGC


Actual output:

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

if R < 1200:
    print('ABC')
elif R < 2800:
    print('ARC')
else:
    print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
if n < 1200:
    print("ABC")
elif n < 2800:
    print("AEC")
else:
    print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
AEC


Fixed submission (verdict: Accepted):
n = int(input())
if n < 1200:
    print("ABC")
elif n < 2800:
    print("ARC")
else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())
if R < 1200:
    print('ABC')
if 1200 <= R < 2800:
    print('ARC')
else:
    print('AGC')


Failing test case input:
-129

Expected output:
ABC


Actual output:
ABC
AGC


Fixed submission (verdict: Accepted):
R = int(input())
if R < 1200:
    print('ABC')
elif R < 2800:
    print('ARC')
else:
    print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N3 = int(input())
if N3 < 1200:
    print('ABC')
elif N3 > 1999 and N3 < 2800:
    print('ARC')
elif N3 > 2799:
    print('AGC')

Failing test case input:
1200

Expected output:
ARC

Actual output:

Fixed submission (verdict: Accepted):
N3 = int(input())
if N3 < 1200:
    print('ABC')
elif 1200 <= N3 < 2800:
    print('ARC')
else:
    print('AGC')
Problem: p03288
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
def main():
    n = int(input())

    if n >> 2800:
        print('AGC')
    elif n >= 1200:
        print('ARC')
    else:
        print('ABC')

if __name__ == '__main__':
    main()

Failing test case input:
4178

Expected output:
AGC


Actual output:
ARC


Fixed submission (verdict: Accepted):
def main():
    n = int(input())

    if n >= 2800:
        print('AGC')
    elif n >= 1200:
        print('ARC')
    else:
        print('ABC')

if __name__ == '__main__':
    main()

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

if r < 1199:
    print("ABC")
elif r < 2800:
    print("ARC")
else:
    print("AGC")


Failing test case input:
1199

Expected output:
ABC

Actual output:
ARC


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

if r < 1200:
    print("ABC")
elif r < 2800:
    print("ARC")
else:
    print("AGC")

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

if r < 1200:
  print('ABC')
elif r > 1200 and r < 2800:
  print('AGC')


Failing test case input:
1200

Expected output:
ARC

Actual output:

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

if r < 1200:
  print('ABC')
elif r >= 1200 and r < 2800:
  print('ARC')
else:
  print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) 


def main():
    print("AGC")

if __name__ == '__main__':
    main()


Failing test case input:
-129

Expected output:
ABC


Actual output:
AGC


Fixed submission (verdict: Accepted):
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) 


def main():
    R = int(input())

    if R < 1200:
        print("ABC")
    elif R < 2800:
        print("ARC")
    else:
        print("AGC")


if __name__ == '__main__':
    main()
Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
if n<1200:
    print('ABC')
if 1200<=n<2800:
    print('ARC')
else :
    print('AGC')

Failing test case input:
1199

Expected output:
ABC

Actual output:
ABC
AGC


Fixed submission (verdict: Accepted):
n = int(input())
if n<1200:
    print('ABC')
elif 1200<=n<2800:
    print('ARC')
else :
    print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
inputs = input()
R = int(inputs)

if R < 1200:
    print("ARC")
elif R < 2800:
    print("ARC")
else:
    print("AGC")

Failing test case input:
-129

Expected output:
ABC


Actual output:
ARC


Fixed submission (verdict: Accepted):
inputs = input()
R = int(inputs)

if R < 1200:
    print("ABC")
elif R < 2800:
    print("ARC")
else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
if r<2000:
  print('ABC')
elif r < 2800:
  print('ARC')
else:
  print('AGC')

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
r = int(input())
if r<1200:
  print('ABC')
elif r < 2800:
  print('ARC')
else:
  print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input())
if a<=1999:
    print("ABC")
elif a<=2799:
    print("ARC")
else:
    print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
a=int(input())
if a<1200:
    print("ABC")
elif a<2800:
    print("ARC")
else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())

if R <= 1200:
  print("ABC")
elif 1200 < R <= 2800:
  print("ARC")
else:
  print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


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

if R < 1200:
  print("ABC")
elif 1200 <= R < 2800:
  print("ARC")
elif R >= 2800:
  print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input("数値を入力："))
if R < 1200:
    print("ABC")

elif R >= 1200 and R < 2800:
    print("ARC")
    
elif R >= 2800:
    print("AGC")

Failing test case input:
4208

Expected output:
AGC

Actual output:
数値を入力：AGC


Fixed submission (verdict: Accepted):
R = int(input(""))
if R < 1200:
    print("ABC")

elif R >= 1200 and R < 2800:
    print("ARC")
    
elif R >= 2800:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())
if R<2400:
    print("ARC")
elif R<1200:
    print("ABC")
else:
    print("AGC")

Failing test case input:
-129

Expected output:
ABC


Actual output:
ARC


Fixed submission (verdict: Accepted):
R = int(input())
if R<1200:
    print("ABC")
elif R<2800:
    print("ARC")
else:
    print("AGC")
Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
if r < 1200:
    print("ABC")
elif r < 200:
    print("ARC")
else:
    print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
AGC


Fixed submission (verdict: Accepted):
r = int(input())
if r < 1200:
    print("ABC")
elif r < 2800:
    print("ARC")
else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r=int(input())
if r<1200:
  print("ABC")
if 1200<=r<2800:
  print("ARC")
else:
  print("AGC")

Failing test case input:
1199

Expected output:
ABC

Actual output:
ABC
AGC


Fixed submission (verdict: Accepted):
r=int(input())
if r<1200:
  print("ABC")
elif r<2800:
  print("ARC")
else:
  print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r=int(input())
if r<1200:
  print("ABC")
elif r<2800:
  print("ARC")

Failing test case input:
4178

Expected output:
AGC


Actual output:

Fixed submission (verdict: Accepted):
r=int(input())
if r<1200:
  print("ABC")
elif r<2800:
  print("ARC")
else:
  print("AGC")

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

if r < 1200:
    print('ABC')
if 1200 < r & r < 2800:
    print('ARC')
if 2800 < r:
    print('AGC')


Failing test case input:
1200

Expected output:
ARC

Actual output:

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

if r < 1200:
    print('ABC')
if 1200 <= r & r < 2800:
    print('ARC')
if 2800 <= r:
    print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
if r <= 1999:
    print("ABC")
elif r <= 2799:
    print("ARC")
else:
    print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
r = int(input())
if r <= 1199:
    print("ABC")
elif r <= 2799:
    print("ARC")
else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R=int(input())
if R<1200:
      print('ABC')
if R>1200 and R<2800 :
      print('ARC')
if R>2800 and R<=4208 :
      print('AGC')

Failing test case input:
1200

Expected output:
ARC

Actual output:

Fixed submission (verdict: Accepted):
R=int(input())
if R<1200:
      print('ABC')
if R>=1200 and R<2800 :
      print('ARC')
if R>=2800 and R<=4208 :
      print('AGC')

Problem: p03288
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
r = int(input())

if r < 1200:
  print('ABC')
elif r < 2800:
  print('ARC')
else:
  print('AGc')

Failing test case input:
4208

Expected output:
AGC

Actual output:
AGc


Fixed submission (verdict: Accepted):
r = int(input())
 
if r < 1200:
  print('ABC')
elif r < 2800:
  print('ARC')
else:
  print('AGC')

Problem: p03288
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
x = int(input())

if x < 1200:
  print("AGC")
elif x < 2800:
  print("ARC")
else:
  print("AGC")

Failing test case input:
-129

Expected output:
ABC


Actual output:
AGC


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

if x < 1200:
  print("ABC")
elif x < 2800:
  print("ARC")
else:
  print("AGC")
Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
if r < 1200:
    print("ABC")
if 1200 <= r < 2800:
    print("ARC")
else:
    print("AGC")

Failing test case input:
1199

Expected output:
ABC

Actual output:
ABC
AGC


Fixed submission (verdict: Accepted):
r = int(input())
if r < 1200:
    print("ABC")
if 1200 <= r < 2800:
    print("ARC")
if 2800 <= r:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())

if R <= 1200:
  print("ABC")
elif 1200 < R <= 2800:
  print("ARC")
elif R > 2800:
  print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


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

if R < 1200:
  print("ABC")
elif 1200 <= R < 2800:
  print("ARC")
elif R >= 2800:
  print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
 
if r<1200:
  print('ABC')
if r<2800:
  print('ARC')
else:
  print('AGC')

Failing test case input:
-129

Expected output:
ABC


Actual output:
ABC
ARC


Fixed submission (verdict: Accepted):
r = int(input())
if r < 1200:
    print("ABC")
elif 1200 <= r < 2800:
    print("ARC")
else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input())
if a>=1199:
  print('ABC')
elif a>=2800:
  print('ARC')
else:
  print('AGC')

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
a=int(input())
if a<=1199:
  print('ABC')
elif a<=2799:
  print('ARC')
else:
  print('AGC')

Problem: p03288
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
r = int(input())
print("ABC" if r < 1200 else "AGC" if r < 2800 else "AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
AGC


Fixed submission (verdict: Accepted):
r = int(input())
print("ABC" if r < 1200 else "ARC" if r < 2800 else "AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())

if R <= 1200:
  print("ABC")
elif 1200 < R <= 2800:
  print("ARC")
elif R >= 2800:
  print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


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

if R < 1200:
  print("ABC")
elif 1200 <= R < 2800:
  print("ARC")
elif R >= 2800:
  print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r=int(input())
if r<1200:
  print("ABC")
elif 1200<r<2800:
  print("ARC")
else:
  print("AGC")
  

Failing test case input:
1200

Expected output:
ARC

Actual output:
AGC


Fixed submission (verdict: Accepted):
r=int(input())
if r<1200:
  print("ABC")
elif 1200<=r<2800:
  print("ARC")
else:
  print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r=int(input())
if r>1200:
    print("ABC")
elif 1200<=r<2800:
    print("ARC")
else:
    print("AGC")

Failing test case input:
4178

Expected output:
AGC


Actual output:
ABC


Fixed submission (verdict: Accepted):
r=int(input())
if r<1200:
    print("ABC")
elif 1200<=r<2800:
    print("ARC")
else:
    print("AGC")
Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
i=int(input())
print("ABC" if i<1200 else "ARC" if 1200<=i<2800 else"ABG")

Failing test case input:
4178

Expected output:
AGC


Actual output:
ABG


Fixed submission (verdict: Accepted):
i=int(input())
print("ABC" if i<1200 else "ARC" if 1200<=i<2800 else"AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())
if R > 1200:
  if R > 2800:
    print("AGC")
  else:
    print("ARC")
else:
  print("ABC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
R = int(input())
if R < 1200:
  print("ABC")
else:
  if R < 2800:
    print("ARC")
  else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
if n < 1199:
  print("ABC")
elif n < 2800:
  print("ARC")
else:
  print("AGC")


Failing test case input:
1199

Expected output:
ABC

Actual output:
ARC


Fixed submission (verdict: Accepted):
n = int(input())
if n < 1200:
  print("ABC")
elif 1200 <= n < 2800:
  print("ARC")
else:
  print("AGC")

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

R = int(input())
if R >=2800:
  print("AGC")
elif R >= 1200 and 2800 > R:
  print("ARC")
else:
  print("AGC")

Failing test case input:
1199

Expected output:
ABC

Actual output:
AGC


Fixed submission (verdict: Accepted):

R = int(input())
if R >=2800:
  print("AGC")
elif R >= 1200 and 2800 > R:
  print("ARC")
else:
  print("ABC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r=int(input())
if r<1200:
  print('ABC')
if 1199<r<2800:
  print('ARC')
else:
  print('AGC')


Failing test case input:
1199

Expected output:
ABC

Actual output:
ABC
AGC


Fixed submission (verdict: Accepted):
r=int(input())
if r<1200:
  print('ABC')
elif 1199<r<2800:
  print('ARC')
else:
  print('AGC')

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

if r<1200:
  print('ABC')
elif r<2800:
  print('AGC')
else:
  print('ARC')

Failing test case input:
1200

Expected output:
ARC

Actual output:
AGC


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

if r<1200:
  print('ABC')
elif r<2800:
  print('ARC')
else:
  print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A=int(input())
if(A<1200):
  print("ABC")
if(A>=2800):
  print("AGC")
else:
  print("ARC")

Failing test case input:
1199

Expected output:
ABC

Actual output:
ABC
ARC


Fixed submission (verdict: Accepted):
A=int(input())
ARC=1
if(A<1200):
  print("ABC")
  ARC=0

if(A>=2800):
  print("AGC")
  ARC=0
  
if(ARC==1):
  print("ARC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N=int(input())
if N<=1200:
  print("ABC")
elif N<=2800:
  print("ARC")
else:
  print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
N=int(input())
if N<1200:
  print("ABC")
elif N<2800:
  print("ARC")
else:
  print("AGC")
Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R=int(input())
if R < 1199: print('ABC')
elif R < 2799: print('ARC')
else: print('ARC')

Failing test case input:
4208

Expected output:
AGC

Actual output:
ARC


Fixed submission (verdict: Accepted):
R=int(input())
if R < 1200: print('ABC')
elif R < 2800: print('ARC')
else: print('AGC')

Problem: p03288
Buggy submission (Python (3.8.2), verdict: Wrong Answer):

def main():
    n = int(input())
    if n <= 1200:
        print('ABC')
    elif 1200 < n <= 2800:
        print('ARC')
    else:
        print('AGC')


if __name__ == "__main__":
    main()


Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):

def main():
    n = int(input())
    if n < 1200:
        print('ABC')
    elif 1200 <= n < 2800:
        print('ARC')
    else:
        print('AGC')


if __name__ == "__main__":
    main()

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
if n < 1200:
    print('ABC')
elif 1200 < n < 2800:
    print('ARC')
else:
    print('AGC')


Failing test case input:
1200

Expected output:
ARC

Actual output:
AGC


Fixed submission (verdict: Accepted):
n = int(input())
if n < 1200:
    print('ABC')
elif  n < 2800:
    print('ARC')
else:
    print('AGC')

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


rate = int(input("Enter your rate: "))

if rate < 1200:
    print("ABC")
elif rate < 2800:
    print("ARC")
else:
    print("AGC")

Failing test case input:
-129

Expected output:
ABC


Actual output:
Enter your rate: ABC


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

if r < 1200:
    print("ABC");
elif r < 2800:
    print("ARC")
else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R=int(input())
if R<1200:
      print('ABC')
if R>1200 and R<2800 :
      print('ARC')
if R>4208 :
      print('AGC')
    
    

Failing test case input:
4208

Expected output:
AGC

Actual output:

Fixed submission (verdict: Accepted):
R=int(input())
if R<1200:
      print('ABC')
if R>=1200 and R<2800 :
      print('ARC')
if R>=2800 and R<=4208 :
      print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R=int(input())
if R<1200:
  print('ABC')
elif R<4200:
  print('ARC')
else:
  print('AGC')

Failing test case input:
4178

Expected output:
AGC


Actual output:
ARC


Fixed submission (verdict: Accepted):
R=int(input())
if R<1200:
  print('ABC')
elif R<2800:
  print('ARC')
else:
  print('AGC')

Problem: p03288
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
    r = (int)(input())
    if r < 1200:
        print("ABC")
    elif r >= 1200 and r < 2800:
        print("ARC")
    else:
        print("ARC")

main()

Failing test case input:
4208

Expected output:
AGC

Actual output:
ARC


Fixed submission (verdict: Accepted):
def main():
    r = (int)(input())
    if r < 1200:
        print("ABC")
    elif r >= 1200 and r < 2800:
        print("ARC")
    else:
        print("AGC")

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



def main(r):
    if r < 1200:
        print('ABC')
    elif r < 2800:
        print('ARC')
    else:
        print('AGC')


Failing test case input:
4208

Expected output:
AGC

Actual output:

Fixed submission (verdict: Accepted):



def main(r):
    if r < 1200:
        print('ABC')
    elif r < 2800:
        print('ARC')
    else:
        print('AGC')


if __name__ == "__main__":
    r = int(input())
    main(r)

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

if r < 1200:
    print("ABC")
elif r < 2800:
    print("ARG")
else:
    print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ARG


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

if r < 1200:
    print("ABC")
elif r < 2800:
    print("ARC")
else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())
if R <= 1200:
    R = "ABC"
elif R <= 2800:
    R = "ARC"
else:
    R = "AGC"
print(R)


Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
R = int(input())
if R < 1200:
    R = "ABC"
elif R < 2800:
    R = "ARC"
else:
    R = "AGC"
print(R)

Problem: p03288
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = int(input())

if n < 1200:
    print('ABC')
if n >= 1200 and n < 2800:
    print('ARC')
else:
    print('AGC')

Failing test case input:
1199

Expected output:
ABC

Actual output:
ABC
AGC


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

if n < 1200:
    print('ABC')
if n >= 1200 and n < 2800:
    print('ARC')
if n >= 2800:
    print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())

if R < 1200:
    print('ABC')
elif R < 28000:
    print('ARC')
else:
    print('AGC')

Failing test case input:
4178

Expected output:
AGC


Actual output:
ARC


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

if R < 1200:
    print('ABC')
elif R < 2800:
    print('ARC')
else:
    print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())
if R < 1200:
    print('ABC')
if R < 2800:
    print('ARC')
else:
    print('AGC')


Failing test case input:
1199

Expected output:
ABC

Actual output:
ABC
ARC


Fixed submission (verdict: Accepted):
R = int(input())
if R < 1200:
    print('ABC')
elif R < 2800:
    print('ARC')
else:
    print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input("R: "))

if(r < 1200):
    print("ABC")
elif(r < 2800):
    print("ARC")
else:
    print("AGC")
    

Failing test case input:
4208

Expected output:
AGC

Actual output:
R: AGC


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

if(r < 1200):
    print("ABC")
elif(r < 2800):
    print("ARC")
else:
    print("AGC")
Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
b= int(input().rstrip())
if b<1200:
	a="ABC"
elif b<2800 & b >1199:
	a="ARC"
else:
	a="ARC"
print(a)


Failing test case input:
4178

Expected output:
AGC


Actual output:
ARC


Fixed submission (verdict: Accepted):
b= int(input().rstrip())
if b<1200:
	a="ABC"
elif b<2800 and b >=1200:
	a="ARC"
else:
	a="AGC"
print(a)

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R=int(input())
if R>2800:
  print("AGC")
elif R>1200:
  print("ARC")
else:
  print("ABC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
R=int(input())
if R>=2800:
  print("AGC")
elif R>=1200:
  print("ARC")
else:
  print("ABC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())

if R <= 1200:
  print("ABC")
elif R <= 2800:
  print("ARC")
else:
  print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


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

if R < 1200:
  print("ABC")
elif 1200 <= R < 2800:
  print("ARC")
elif R >= 2800:
  print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
if n <=1200:print("ABC")
elif n<=2800:print("ARC")
else:print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
n = int(input())
if n <1200:print("ABC")
elif n<2800:print("ARC")
else:print("AGC")

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

if r < 1299:
    print("ABC")
elif r < 2800:
    print("ARC")
else:
    print("AGC")


Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


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

if r < 1200:
    print("ABC")
elif r < 2800:
    print("ARC")
else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
if r < 1200:
    print("ABC")
    if 1200 <= r <2800:
        print("ARC")
        if 2800 <= r <= 4208:
            print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:

Fixed submission (verdict: Accepted):
r = int(input())
if r < 1200:
    print("ABC")
else:
    if r < 2800:
        print("ARC")
    else:
        print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())
if R <= 1200:
	print('ABC')
elif R <= 2800:
	print('ARC')
else:
	print('AGC')

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
R = int(input())
if R < 1200:
	print('ABC')
elif R < 2800:
	print('ARC')
else:
	print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r=int(input())
print("ABC" if r<1200 else "ABC" if r <2800 else "AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
r=int(input())
print("ABC" if r<1200 else "ARC" if r <2800 else "AGC")
Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())
if R >= 2800:
    print("AGC")
elif R >= 1200:
    print("AGC")
else:
    print("ABC")


Failing test case input:
1200

Expected output:
ARC

Actual output:
AGC


Fixed submission (verdict: Accepted):
R = int(input())
if R >= 2800:
    print("AGC")
elif R >= 1200:
    print("ARC")
else:
    print("ABC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input())
if a<1200:
  print("ABC")
if a<2800:
  print("ARC")
if a>2799:
  print("AGC")

Failing test case input:
1199

Expected output:
ABC

Actual output:
ABC
ARC


Fixed submission (verdict: Accepted):
a=int(input())
if a<1200:
  print("ABC")
elif a<2800:
  print("ARC")
else:
  print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
if r < 1200:
  print('ABC')
if r < 2800:
  print('ARC')
else:
  print('AGC')
    

Failing test case input:
-129

Expected output:
ABC


Actual output:
ABC
ARC


Fixed submission (verdict: Accepted):
r = int(input())
if r < 1200:
  print('ABC')
elif r < 2800:
  print('ARC')
else:
  print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input()) 
A=['ABC','ARC','AGC']
if a <1200:
  print(A[0])
if a <2800:
  print(A[1])
else:
  print(A[2])

Failing test case input:
1199

Expected output:
ABC

Actual output:
ABC
ARC


Fixed submission (verdict: Accepted):
a = int(input()) 
A=['ABC','ARC','AGC']
if a <1200:
  print(A[0])
elif a <2800:
  print(A[1])
else:
  print(A[2])

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

if n<1200:
    print("ABC")
if n<2800 and n>1200:
    print("ARC")
if n>2800:
    print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:

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

if R<1200:
    print("ABC")
elif R<2800:
    print("ARC")
else :
    print("AGC")

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

if r <= 1999:
    print("ABC")

elif r <2800:
    print("ARC")
else :
    print("AGC")
    

Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


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

if r <= 1199:
    print("ABC")

elif r <2800:
    print("ARC")
else :
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=int(input())
ans=("ABC" if n<1200 else("ARC" if n<2800 else "AGC"))

Failing test case input:
1199

Expected output:
ABC

Actual output:

Fixed submission (verdict: Accepted):
n=int(input())
print("ABC" if n<1200 else("ARC" if n<2800 else "AGC"))

Problem: p03288
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
r=int(input())
if r<1200:
    print("ABC")
if r<2800:
    print("ARC")
else:
    print("AGC")

Failing test case input:
-129

Expected output:
ABC


Actual output:
ABC
ARC


Fixed submission (verdict: Accepted):
r=int(input())
if r<1200:
    print("ABC")
elif r<2800:
    print("ARC")
else:
    print("AGC")
Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
r=int(input())
if r<1200:
	print("ABC")
	sys.exit()
elif r<2800:
	print("ARC")
	sys.exit()
else:
	print("R")

Failing test case input:
4178

Expected output:
AGC


Actual output:
R


Fixed submission (verdict: Accepted):
import sys
r=int(input())
if r<1200:
	print("ABC")
	sys.exit()
elif r<2800:
	print("ARC")
	sys.exit()
else:
	print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R=int(input())
if R < 1200: print('ABC')
elif R < 2800: print('ARC')
else: print('ARC')

Failing test case input:
4178

Expected output:
AGC


Actual output:
ARC


Fixed submission (verdict: Accepted):
R=int(input())
if R < 1200: print('ABC')
elif R < 2800: print('ARC')
else: print('AGC')

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def rated_for_me(rate):
    if rate < 1200:
        return "ABC"
    if rate < 4208:
        return "ARC"
    return "AGC"

rate = int(input())
print(rated_for_me(rate))


Failing test case input:
4178

Expected output:
AGC


Actual output:
ARC


Fixed submission (verdict: Accepted):
def rated_for_me(rate):
    if rate < 1200:
        return "ABC"
    if rate < 2800:
        return "ARC"
    return "AGC"

rate = int(input())
print(rated_for_me(rate))

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())

if R < 1200:
    print("ABC")
else:
    print("ARC")

Failing test case input:
4208

Expected output:
AGC

Actual output:
ARC


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

if R < 1200:
    print("ABC")
elif R < 2800:
    print("ARC")
else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = int(input())
l0 = [1200,2800,9999]
l1 = ["ABC","ARC","AGC"]

for i in range(3):
  if x < l0[i]:
    print(l1[1])
    break


Failing test case input:
-129

Expected output:
ABC


Actual output:
ARC


Fixed submission (verdict: Accepted):
x = int(input())
l0 = [1200,2800,9999]
l1 = ["ABC","ARC","AGC"]

for i in range(3):
  if x < l0[i]:
    print(l1[i])
    break

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

if r <= 1200:
    print("ABC")
elif r <= 2800:
    print("ARC")
else:
    print("AGC")


Failing test case input:
1200

Expected output:
ARC

Actual output:
ABC


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

if r < 1200:
    print("ABC")
elif r < 2800:
    print("ARC")
else:
    print("AGC")

Problem: p03288
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
R = int(input())
if R < 1200:
  print("ABC")
elif R < 2800:
  print("AGC")
else:
  print("AGC")

Failing test case input:
1200

Expected output:
ARC

Actual output:
AGC


Fixed submission (verdict: Accepted):
R = int(input())
if R < 1200:
  print("ABC")
elif R < 2800:
  print("ARC")
else:
  print("AGC")