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

if r < 1200:
    print("ABC")
elif r > 1200 or r < 2800:
    print("ARC")
elif r > 2800 or r < 4208:
    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())

if r < 1200:
    print("ABC")
elif r > 1200 or r < 2800:
    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 <= 1999:
    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 <= 1199:
    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 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  R < 2800:
    print("ARC")
else:
    print("AGC")

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

Failing test case input:
1200

Expected output:
ARC

Actual output:
AGC


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

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

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


Failing test case input:
1200

Expected output:
ARC

Actual output:
ARCC


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