TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
x = int(input())
for i in range(-118, 120):
  for j in range(-119, 119):
    if i**5 - j**5 = x:
      print(i, j)
      exit(0)


s = input()
if s == "ABC":
    print("ARC")
else:
    print("ABC")

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s=input()

ans='ABC'

if s!=ans:
  ans='ARC'
  
print(ans)

s=input()

if s=='ABC':
  ans='ARC'
else:
  ans='ABC'

print(ans)

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
str = input()

if(str == 'ABC'):
  print("ARC")
  el:
    print("ABC")

str = input()

if str == 'ABC':
  print("ARC")
else:
  print("ABC")


Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s=input()
if s[1]=='B':
  s[1]='R'
else:
  s[1]='B';
print(s)

s=input()
if s[1]=='B':
  s[1]='R'
else:
  s[1]='B'
print(s)

s=input()

if s[1]=='B':
  print('ARC')
else:
  print('ABC')


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
a=intput("enter")
if a=="ABC":
    print("ARC")
elif a=="ARC":
    print("ABC")

a=intput()
if a=="ABC":
    print("ARC")
elif a=="ARC":
    print("ABC")

a=input()
if a=="ABC":
    print("ARC")
elif a=="ARC":
    print("ABC")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
def dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]
import bisect 
#from collections import defaultdict #d = defaultdict(int) d[key] += value
#from collections import Counter # a = Counter(A).most_common()
#from itertools import accumulate #list(accumulate(A))
import math

def make_divisors(n):
    divisors = []
    for i in range(1, int(n**0.5)+1):
        if n % i == 0:
            divisors.append(i)
            if i != n // i:
                divisors.append(n//i)

    
    return sorted(divisors)



X = ii()
'''
a = make_divisors(X)
ind = bisect.bisect_left(a, X**0.2)

for num in a[:ind+1]:
    for i in range(num):
        j = num - i
        if i**5 + j**5 == X:
            print(i, (-1)*j)
            exit()
'''
num = int(X**0.2)+1
for i in range(num):
    #tmp = i**5
    b = (X - i**5)**0.2
    if math.floor(b) == b:
        print(i, (-1)*int(b))
        exit()

import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]
def dp2(ini, i, j): return [[ini]*i for i2 in range(j)]
def dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]

#from collections import defaultdict #d = defaultdict(int) d[key] += value
#from collections import Counter # a = Counter(A).most_common()
#from itertools import accumulate #list(accumulate(A))

S = input()

if S == 'ABC':
    print('ARC')
else:
    print('ABC')

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s = input()
output = "ABC"
if s == output:
  output = "ARC"
print(s)

s = input()
output = "ABC"
if s == output:
  output = "ARC"
print(output)

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
A = input()
if A = "ABC":
    print("ARC")
else:
    print("ABC")

A = input()
if A == "ABC":
    print("ARC")
else:
    print("ABC")

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s = input()
if s = 'ABC':
	print('ARC')
else:
	print('ABC')

s = input()
if s == 'ABC':
	print('ARC')
else:
	print('ABC')

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
if S == ("ABC"):
  print("ARC")
else:
  print("ABC")

if S =="ABC":
  print("ARC")
else:
  print("ABC")

if S == "ABC"
print "ARC"
if S =="ARC"
print"ABC"

S = input()
if S ==("ABC"):
  print("ARC")
else:
  print("ABC")


Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
print('ABC' if input()[1] == 'R' else 'ARC)

print('ABC' if input()[1] == 'R' else 'ARC')


Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
print(input())

print(input())

if input() == "ARC":
    print("ABC")
else:
    print("ARC")

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s = input()
print("ABC" if s == "ARC" else "ABC")

s=input();print("ABC"if s=="ARC"else"ARC")

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
S = input()
print('ARC' if S is 'ABC' else 'ABC')

S = input()
print('ARC' if S == 'ABC' else 'ABC')

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s = int(input())
if s == 'ABC':
    print('ARC')
else:
    print('ABC')

s = input()
if s == 'ABC':
    print('ARC')
else:
    print('ABC')

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s=input()
if s[1]='R':
  print('ABC')
else:
  print('ARC')

s=input()
if s[1]=='R':
  print('ABC')
else:
  print('ARC')

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
a=input()
if a=="ABC":
  ptint("ARC")
else:
  print("ABC")

a=input()
if a=="ABC":
  print("ARC")
else:
  print("ABC")


Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
S = input()
print('ARC' if S != 'ABC else 'ABC')

print('ARC' if input() != 'ABC else 'ABC')

S = input()
print('ARC' if S == 'ABC' else 'ABC')

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
import sys

lines = sys.stdin.readline()

X = str(lines)

if X =='ABC':
    print('ARC')
else:
    print('ABC')

lines = input()

X = str(lines)

if X =='ABC':
    print('ARC')
else:
    print('ABC')

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
str=input()
if str=="ABC":
    print("ARC")
    elif str=="ARC":
        print("ABC")
    else:
      

str=input()
if str=="ABC":
    print("ARC")
elif str=="ARC":
    print("ABC")

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
a = input()
if a == "ABC":
  print("ABC")
else:
  print("ARC")

s = input()
if s == "ABC":
    print("ARC")
else:
    print("ABC")

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s = input()
if input() == 'ABC':
  print('ARC')
else:
  print('ABC')

S = input()
if S == 'ABC':
  print('ARC')
else:
  print('ABC')

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):


s = input()

if s == "ARC" :
	print("ABC")
else:
	print(s)



s = input()

if s == 'ARC' :
	print('ABC')
else:
	print('ARC')

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s = input()
s[1] = "R"
print(s)

s = input()
if s == "ABC":
  print("ARC")
else:
  print("ABC")

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
import math
from sys import stdin,stdout
#% 998244353
T = stdin.readline()
if T=="ABC":
    print("ARC")
else:
    print("ABC")    

import math
from sys import stdin,stdout
#% 998244353
from heapq import heapify,heappop,heappush

import collections
# T = int(stdin.readline())

    #N=int(stdin.readline())
N,M=list(map(int,stdin.readline().split()))
hill=list(map(int,stdin.readline().split()))

dc=collections.defaultdict(list)
#vis=set()
for m in range(M):
    A,B=list(map(int,stdin.readline().split()))
    dc[A].append(B)
    dc[B].append(A)

ans=0
for k,ls in dc.items():

    f=0
    z=0
    for h in ls:

        if hill[k-1]<=hill[h-1]:
            f=1
            break

    if not f:
      #  print(k)
        ans+=1  
#print(ans)
#ans+=(N-len(dc.keys()))
print(ans)            

import math
from sys import stdin,stdout
#% 998244353
from heapq import heapify,heappop,heappush

import collections
# T = int(stdin.readline())

    #N=int(stdin.readline())
N,M=list(map(int,stdin.readline().split()))
hill=list(map(int,stdin.readline().split()))

dc=collections.defaultdict(list)
#vis=set()
for m in range(M):
    A,B=list(map(int,stdin.readline().split()))
    dc[A].append(B)
    dc[B].append(A)

ans=0
for k,ls in dc.items():

    f=0
    for h in ls:
        if ls.count(h)>1:
            continue
        if hill[k-1]<hill[h-1]:
            f=1
            break
    if not f:
        ans+=1  

ans+=N-len(dc.keys())
print(ans)            

import math
from sys import stdin,stdout
#% 998244353
T = stdin.readline()
if T=="ABC":
    print("ARC")
elif T=="ARC":
    print("ABC")    

import math
from sys import stdin,stdout
#% 998244353
T = stdin.readline()
T=T[:-1]
if T=="ABC":
    print("ARC")
elif T=="ARC":
    print("ABC")    

Verdicts: Wrong Answer

Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
str = input()

if str == "ABC":
    print(ARC)
else:
    print(ABC)


str = input()

if str == "ABC":
    print("ARC")
else:
    print("ABC")


Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
if S == "ABC":
  print("ARC")
 else:
  print("ABC")

S = input()
if S == "ABC":
  print("ARC")
 else:
  print("ABC")

S = input()
if S == "ABC":
  print("ARC")
else:
  print("ABC")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
S = input()
if S = "ABC":
  print("ARC")
if S = "ARC":
  print("ABC")


S = input()
if S == "ABC":
  print("ARC")
if S == "ARC":
  print("ABC")


Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s=input()
if s=="ABC":
 print("ABC")
else:
  print("ABC")

s=input()
if s=="ABC":
  print("ARC")
else:
  print("ABC")

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
def main():
    a = input()
    if a == "ABC"
        print("ARC")
    else:
        print("ABC")
if __name__ == '__main__':
    main()


def main():
    a = input()
    if a == "ABC":
        print("ARC")
    else:
        print("ABC")
if __name__ == '__main__':
    main()



Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
def awc(s):
    print("ARC" if s == "ABC" else "ABC")

if __name__ == "__main__":
    import sys
    in_str = []
    for line in sys.stdin:
        in_str.append(line)
    awc(s)


def awc(s):
    print("ARC" if s == "ABC" else "ABC")

if __name__ == "__main__":
    import sys
    in_str = []
    for line in sys.stdin:
        in_str.append(line)
    awc(in_str[0])


def awc(s):
    print("ARC" if s == "ABC" else "ABC")

if __name__ == "__main__":
    import sys
    in_str = input()
    awc(in_str)


Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
n, k = map(int, input().split())
 
m = [0]*n
 
for i in range(k):
    d = int(input())
    a = [int(x) for x in input().split()]
    for j in range(d):
        m[a[j]-1] += 1
 
print(m.count(0))


n, k = map(int, input().split())
 
M = [0]*n
 
for i in range(k):
    d = int(input())
    a = [int(x) for x in input().split()]
    for j in range(d):
        M[a[j]-1] += 1
 
print(M.count(0))

n, k = map(int, input().split())
 
member = [0]*n
 
for i in range(k):
    d = int(input())
    a = [int(x) for x in input().split()]
    for j in range(d):
        
        member[a[j]-1] += 1
 
print(member.count(0))


N,K = map(int,input().split())
 
P = [0 for i in range(N)]
m = 0
for i in range(K):
  a = int(input())
  b = list(int,input().split())
  for j in range(a):
    P[b[j]-1] = 1
    j += 1
    
for l in range(N):
  if P[l] == 0:
    m += 1
    
print(m)


S = input()

if S = "ABC":
  print("ARC")
else:
  print("ABC")

S = input()

if S ='ABC':
  print('ARC')
else:
  print('ABC')

S = input()

if S =='ABC':
  print('ARC')
else:
  print('ABC')


Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
from sys import stdin

K = str(stdin.readline())

if K=="ABC":
  print("ARC")
else:
  print("ABC")

from sys import stdin

K = int(stdin.readline())

if K=="ABC":
  print("ARC")
else:
  print("ARC")

from sys import stdin

K = str(stdin.readline().strip())

if K=="ABC":
  print("ARC")
else:
  print("ABC")

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
n = int(input())
a = list(map(int, input().split()))

nn = n + max(a)
ml = [0] * nn
pl = [0] * nn

out = 0

for i in range(0, n):
    pl[i+a[i]] += 1
    if(i-a[i]>=0):
        ml[i-a[i]] += 1

for i in range(0, n):
    out += pl[i] * ml[i]

print(out)


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

out = 0

for i in range(n):
    w = i-a[i]
    for j in range(i):
        if(w == a[j] + j):
            out += 1
print(out)


instr = input()

if instr == 'ABC':
    print('ARC')
else:
    print('ABC')


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s = str(input())
if s == 'ABC':
  print('ARC)
else:
  print('ABC')

s = str(input())
if s == 'ABC':
  print('ARC')
else:
  print('ABC')

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
print("ABC" if input()[1] == "B" else "ARC")

print("ABC" if input()[1]=="R" else "ARC")

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
S = input()
if S = 'ABC':
    print("ARC")
else:
    print("ABC")


S = input()
if S == 'ABC':
    print("ARC")
else:
    print("ABC")


Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s = int(input())
if s == "ABC":
    print("ARC")
else:
    print("ABC")

s = input()
if s == "ABC":
    print("ARC")
else:
    print("ABC")

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
N = input()
if N = "ABC" :
  print("ARC")
elif N = "ARC" :
  print("ABC")

N = input()
if N == "ABC" :
  print("ARC")
elif N == "ARC" :
  print("ABC")

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
n,m=map(int,input().split())

h=list(map(int,input().split()))
low=[]
high=[]

for i in range(m):

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

    if h[a-1]>h[b-1]:

        low.append(b)
        high.append(a)

    elif h[a-1]==h[b-1]:


        low.extend([a,b])

    elif h[a-1]<h[b-1]:

        low.append(a)
        high.append(b)

common=list(set(low)&set(high))

for k in range(len(common)):

    high.remove(common[k])

lh_or=list(set(low) ^ set(high))

g=n-len(lh_or)
high=list(set(high))

print(len(high)+g)


s=input()

if s=="ARC":

    print("ABC")

else:
    print("ARC")


Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
S = input(str)
if S == "ABC":
  print("ARC")
else:
  print("ABC")

S = input()
if S == "ABC":
  print("ARC")
else:
  print("ABC")

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s = input()
print("ABC") if a[1] == "R" else print("ARC")

s = input()
print("ABC") if s[1] == "R" else print("ARC")

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
import sys
n = sys.stdin.readline()
if n = 'ABC':
  print('ARC')
else:
  print('ABC')

import sys
n = sys.stdin.readline()
if n == 'ABC':
  print('ARC')
else:
  print('ABC')


import sys
n = sys.stdin.readline().strip()
if n == 'ABC':
  print('ARC')
else:
  print('ABC')


Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
n=str(input())
if n=="ABS":
    print("ARC")
else:
    print("ABC")


n=str(input())
if n=="ABC":
    print("ARC")
else:
    print("ABC")

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
if S = 'ABC':
  return 'ARC'
else:
  return 'ABC'

S = str(input())
if S == 'ABC':
  return 'ARC'
else:
  return 'ABC'

if S == 'ABC':
  return 'ARC'
else:
  return 'ABC'

S = str(input())
if S == 'ABC':
  print('ARC')
else:
  print('ABC')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
S = str(input())

if S = 'ABC':
  print('ARC')
  
else:
  print('ABC')

S = str(input())

if S == 'ABC':
  print('ARC')
  
else:
  print('ABC')



Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
S = input()
if S = ABC:
  print("ARC")
elif S = ARC:
  print("ABC")
else:

S = input()
if S == "ABC":
  print("ARC")
else:
  print("ABC")

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
if S == 'ABC':
 print('ARC')
else:
 print('ABC')

if S = ABC:
 print('ARC')
else:
 print('ABC')

S = input()
if S ='ABC':
 print('ARC')
else:
 print('ABC')

S == 'ABC'

if S == 'ABC' :
 print('ARC')
else :
 print('ABC')

S = input()
if S='ABC':
  print('ARC')
else :
  print('ABC')

S == 'ABC'

if S == 'ABC':
 print('ARC')
else:
 print('ABC')

S = ABC

if S == ABC:
 print('ARC')
else:
 print('ABC')

S = input()
if S =='ABC':
  print('ARC')
else:
  print('ABC)

if S = 'ABC':
 print('ARC')
else:
 print('ABC')

S = ABC
if S = ABC:
 print("ARC")
else:
 print("ABC")


if S == "ABC":
  print("ARC")
else:
  print("ABC")

S = 'ABC'
if S = 'ABC':
print('ARC')
else:
print('ABC')

S = ABC

if S = ABC:
 print('ARC')
else:
 print('ABC')

if S = ABC:
 print('ARC')
elf:
 print('ABC')

if S = ABC:
 print('ARC')
else:
 print('ABC')

S = input()
if S =='ABC':
  print('ARC')
else:
  print('ABC')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
N, K = input().split(' ')

sunukekuns = [i for i in range(N)]

for k in range(K):
  _ = input()
  sunukekun = input().split(' ')
  for (kun in sunukekun):
    if kun in sunukekuns:
      sunukekuns.remove(kun)

print(len(sunukekuns))


lastWeek = input()

thisWeek = "ABC" if (lastWeek == "ARC") else "ARC"

print(thisWeek)

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):

import glob


REL_PATH = 'ABC\\166\\A'


TOP_PATH = 'C:\\AtCoder'

class Common:

    problem = []
    index = 0

    def __init__(self, rel_path):
        self.rel_path = rel_path

    def initialize(self, path):
        file = open(path)
        self.problem = file.readlines()
        self.index = 0
        return

    def input_data(self):
        try:
            IS_TEST
            self.index += 1
            return self.problem[self.index-1]

        except NameError:
            return input()

    def resolve(self):
        pass

    def exec_resolve(self):
        try:
            IS_TEST
            for path in glob.glob(TOP_PATH + '\\' + self.rel_path + '/*.txt'):
                print("Test: " + path)
                self.initialize(path)
                self.resolve()
                print("\n\n")
        except NameError:
            self.resolve()


class Solver(Common):

    def resolve(self):


        S = map(int, self.input_data().split())

        if S == 'ABC':
            print('ARC')
        else:
            print('ABC')



solver = Solver(REL_PATH)
solver.exec_resolve()


import glob


REL_PATH = 'ABC\\166\\A'


TOP_PATH = 'C:\\AtCoder'

class Common:

    problem = []
    index = 0

    def __init__(self, rel_path):
        self.rel_path = rel_path

    def initialize(self, path):
        file = open(path)
        self.problem = file.readlines()
        self.index = 0
        return

    def input_data(self):
        try:
            IS_TEST
            self.index += 1
            return self.problem[self.index-1]

        except NameError:
            return input()

    def resolve(self):
        pass

    def exec_resolve(self):
        try:
            IS_TEST
            for path in glob.glob(TOP_PATH + '\\' + self.rel_path + '/*.txt'):
                print("Test: " + path)
                self.initialize(path)
                self.resolve()
                print("\n\n")
        except NameError:
            self.resolve()


class Solver(Common):

    def resolve(self):


        S = self.input_data()

        if S == 'ABC':
            print('ARC')
        else:
            print('ABC')



solver = Solver(REL_PATH)
solver.exec_resolve()

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
A = input().split()
if A == 'ABC':
    print('ARC')
elif A == 'ARC':
    print('ABC')
    

A = input().split()

if A[0][1] == 'B':
    print('ARC')
elif A[0][1] == 'R':
    print('ABC')
    

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
contest = input()

if contest = "ABC":
  print("ARC")
else:
  print("ABC")
  

contest = input()

if contest == "ABC":
  print("ARC")
else:
  print("ABC")

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
S = input("ABC" or "ARC")
if S == "ABC" : 
  print("ARC")
if S == "ARC" :
  print("ABC")

if S == ABC:
  print("ARC")
else:
  print("ABC")

S = <math xmlns="http://www.w3.org/1998/Math/MathML">
  <mi>S</mi>
</math>
if S == "ABC" :
  print("ARC")
if S == "ARC" :
  print("ABC")

S = ["ABC","ARC"]
if S == "ABC" : 
  print("ARC")
if S == "ARC" :
  print("ABC")

S = "ARC" or "ABC"
if S == "ABC" :
  print("ARC")
if S == "ARC" :
  print("ABC")

S = "ABC"
if S == "ABC" : 
  print("ARC")
S = "ARC"
if S == "ARC" :
  print("ABC")

S = input("S=ABC" or "S=ARC")
if S == "ABC" : 
  print("ARC")
if S == "ARC" :
  print("ABC")

S = "ABC","ARC"
if S == "ABC" : 
  print("ARC")
if S == "ARC" :
  print("ABC")

if S == "ABC" : 
  print("ARC")
if S == "ARC" :
  print("ABC")

if S == "ABC" :
  print("ARC")
else:
  print("ABC")
  


S = ["ABC" or "ARC"]
if S == "ABC" : 
  print("ARC")
if S == "ARC" :
  print("ABC")

S = "ARC" or "ABC"
if S == "ABC" :
  print("ARC")
else :
  print("ABC")

S = input()
if S == "ABC" : 
  print("ARC")
else :
  print("ABC")

Verdicts: Wrong Answer

Runtime Error

Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Runtime Error

Wrong Answer

Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
S=intput()

if S=="ABC":
  print("ARC")
else:
  print("ABC")


S=input()

if S=="ABC":
  print("ARC")
else:
  print("ABC")


Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
s = int(input())
if s =='ABC':
    print('ARC')
else:
    print('ABC')

print('ABC' if input()=='ARC' else 'ARC')

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
list = ['ABC','ARC']
if s == 'ABC':
	print(list[1])
else:
  print(list[0])

s = input()
list = ['ABC','ARC']
if s == 'ABC':
	print(list[1])
else:
  print(list[0])

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
S = input()[2]
if S=="B":
  print("ARC")
else:
  print("ABC")

S = input()[1]
if S=="B":
  print("ARC")
else:
  print("ABC")

Verdicts: Wrong Answer

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
N,K = list(map(int,input().split()))

snk_sweets = []

for i in range(K):
    sweets = int(input())
    snk_sweets = snk_sweets + input().split()

len_snk = len(snk_sweets)
print(N - len_snk)


S = input()

if S == 'ABC' :
    print('ARC')
else:
    print('ABC')


Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
X = int(input())
 
flag = 0
A = 0
B = 0
 
for i in range(0, 100000):
  for j in range(0, 100000):
    if i**5 - j**5 == X:
      A = i
      B = j
      break
    elif i**5 + j**5 == X:
      A = i
      B = j
      break
    elif -i**5 - j**5 == X:
      A = -i
      B = j
      break
print(str(A) + ' ' + str(B))

X = int(input())
 
flag = 0
A = 0
B = 0
 
for i in range(0, 100):
  for j in range(0, 100):
    if i**5 - j**5 == X:
      A = i
      B = j
      break
    elif i**5 + j**5 == X:
      A = i
      B = j
      break
    elif -i**5 - j**5 == X:
      A = -i
      B = j
      break
print(str(A) + ' ' + str(B))

N = int(input())

height = input()
height = height.split()
height = [int(s) for s in height]

count = 0

for i in range(N):
  for j in range(i+1, N):
    if j-i == height[i] + height[j]:
      count += 1

print(count)

a = input()

if a == 'ABC':
  print('ARC')
else:
  print('ABC')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
S = input()

if S = 'ARC':
	print('ABC')
else
	ptint('ARC')

S = input()

if S == 'ARC':
	print('ABC')
else:
	print('ARC')

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
x = input()
if x == ABC:
    print('ARC')
else:
    print('ABC')

x = input()
if x == 'ABC':
    print('ARC')
else:
    print('ABC')

Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
# coding: utf-8
S=input()
if S ="ABC":
    print("ARC")
else:
    print("ABC")


# coding: utf-8
S=input()
if S =="ABC":
    print("ARC")
else:
    print("ABC")


Verdicts: Runtime Error

Accepted
Problem: AtCoder Inc. holds a contest every Saturday.  There are two types of contests called ABC and ARC, and just one of them is held at a time.  The company holds these two types of contests alternately: an ARC follows an ABC and vice versa.  Given a string S representing the type of the contest held last week, print the string representing the type of the contest held this week.

Submission attempts (in order):
S = input()
if(S == ABC):
  print("ARC")
else:
  print("ABC")

S = input()
if(S == "ABC"):
  print("ARC")
else:
  print("ABC") 

Verdicts: Runtime Error

Accepted