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):
S = input()
x == ARC
if S == ARC:
  x == ABC
print(x)

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

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(input().rstrip() == 'ABC':
   print('ARC')
else:
   print('ABC')	

if(input().rstrip() == '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):
string = input()
print(string)

string = input()

if string == "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 S == 'ABC':
  print('ARC')
elif S == 'ARC'):
  print('ARC')

S = input()

if S == 'ARC':
  print('ABC')
elif S == 'ABC':
  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):
mport itertools
import math

def solve():
  s = input()
  if s == "ABC":
    print("ARC")
  else:
    print("ABC")
  return 0

 
if __name__ == "__main__":
  solve()


def solve():
  s = input()
  if s == "ABC":
    print("ARC")
  else:
    print("ABC")
  return 0

 
if __name__ == "__main__":
  solve()


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())
def factorization(n):
    arr = []
    temp = n
    for i in range(2, int(-(-n**0.5//1))+1):
        if temp%i==0:
            cnt=0
            while temp%i==0:
                cnt+=1
                temp //= i
            arr.append([i, cnt])
    if temp!=1:
        arr.append([temp, 1])
    if arr==[]:
        arr.append([n, 1])
    return arr

c = factorization(x)
#print(c)
chk = False
for i in c:
  if chk:
    break
  s,t = i
  #print(s)
  for i in range(130):
    if (i+s)**5-i**5 > x:
      break
    if (i+s)**5-i**5 == x:
      ans = (i+s,i)
      chk = True
      break
  for i in range(1,100):
    j = -1*i
    #print(j+s,j)
    if (j+s)**5-j**5 > x:
      break 
    if (j+s)**5-j**5 == x:
      ans = (j+s,j)
      chk = True
      break 
      
print(*ans)


x = int(input())
if x == 1:
  print(0,-1)
  exit()
  
def divisorize(fct):
    b, e = fct.pop()  
    pre_div = divisorize(fct) if fct else [[]]
    suf_div = [[(b, k)] for k in range(e + 1)]
    return [pre + suf for pre in pre_div for suf in suf_div]


def factorize(n):
    fct = []  
    b, e = 2, 0  
    while b * b <= n:
        while n % b == 0:
            n = n // b
            e = e + 1
        if e > 0:
            fct.append((b, e))
        b, e = b + 1, 0
    if n > 1:
        fct.append((n, 1))
    return fct


def num(fct):
    a = 1
    for base, exponent in fct:
        a = a * base**exponent
    return a

c = []
fct = factorize(x)
for div in divisorize(fct):
    c.append(num(div))
    
chk = False
for s in c:
  if chk:
    break
  for i in range(1000):
    if (i+s)**5-i**5 > x:
      break
    if (i+s)**5-i**5 == x:
      ans = (i+s,i)
      chk = True
      break
  if s <1000:    
    for p in range(s,1000):
      j = -1*p
      #print(s,(j+s)**5-j**5)
      if (j+s)**5-j**5 > x:
        break 
      if (j+s)**5-j**5 == x:
        ans = (j+s,j)
        chk = True
        break 
  for ww in range(1,(s+1)//2):
    jj = -1*ww
    if (jj+s)**5-jj**5 > x:
      break    
    if (jj+s)**5-jj**5 == x:
      ans = (jj+s,jj)
      chk = True
      break 
print(*ans)


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 == "ARC":
	print("ABC")
elif s == "ABC":
    print("ARC")
else:
    break

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):
print('ABC' if input() == 'ARS' else 'ARS')

print('ABC' if input() == '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 =map(int, input().split(""))
if S = "ABC":
  print("ARC")
else:
  print("ABC")


S =map(int, input().split())
if S = "ABC":
  print("ARC")
else:
  print("ABC")

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


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


s=input()

if s.find('B')==1:
  print('ARC')
else:
  print('ABC')

Verdicts: 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):
import numpy as np
argList = list(map(int, input().split())) 
heights = list(map(int, input().split())) 


check = np.array([1]*argList[0])

for n in range(argList[1]):
    
    con = list(map(int, input().split())) 
    
    if heights[con[0]-1] <= heights[con[1]-1]:
        check[con[0]-1] = 0
    if heights[con[0]-1] >= heights[con[1]-1]:
        check[con[1]-1] = 0
print(np.sum(check))

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("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):
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=str(input())
if s[1]==B:
	print('ARC')
else:
	print('ABC')

s=str(input())
if s[1]=='B':
	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 = int(input())
if S == "ABC"
	print("ARC")
else:
  	print("ABC")

S = map(int, input().split())
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")

S = map(int, input().split())
if S == ABC
	print("ARC")
else:
  	print("ABC")

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

S = map(int, input().split())
if S = ABC
	print("ABC")
else:
  	print("ARC")


S = map(int, input().split())
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

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):
# coding: utf-8

X = int(input())
flg = 0
for A in range(-100, 100):
    for B in range(-80, 80):
        if A ** 5 - B ** 5 == X:
            print(f"{A} {B}")
            flg = 1
            break
    if flg:
        break


# coding: utf-8

S = input()
arc = "ABR"
abc = "ABC"
if S == arc:
    print(abc)
elif S == abc:
    print(arc)


# coding: utf-8

S = input()
arc = "ARC"
abc = "ABC"
if S == arc:
    print(abc)
elif S == abc:
    print(arc)


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):
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):
n,m=map(int,input().split())
arr=[0]+list(map(int,input().split()))
g=[[] for _ in range(n+1)]
for _ in range(m):
 a,b=map(int,input().split())
 g[a].append(b)
 g[b].append(a)
ans=0
for v in range(1,n+1):
 for u in g[v]: 
   if arr[u]>=arr[v]:
     break
 else: 
   ans+=1
print(ans)

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()
print(S)

print(input())

S=input()

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


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):
n, a, b, c = map(int, input().split())


def calc(x, y):
    if x - 1 >= 0:
        return (x - 1, y)
    elif y - 1 >= 0:
        return (x, y - 1)


answers = []
for i in range(n):
    s = list(map(str, input().split()))
    old_a = a
    old_b = b
    old_c = c

    if s == 'AB':
        a, b = calc(a, b)
    elif s == 'AC':
        a, c = calc(a, c)
    elif s == 'BC':
        b, c = calc(b, c)

    if a > old_a:
        answers.append('A')
    elif b > old_b:
        answers.append('B')
    elif c > old_c:
        answers.append('C')

    if a >= 0 and b >= 0 and c >= 0:
        print('No')
        quit()


print('Yes')
for ans in answers:
    print(ans)


s = str(input())

a = ''

if s == 'ABC':
    a = 'ARC'
elif s == 'ARC':
    a = 'ABC'

print(a)


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):
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;


const ld pi=3.14159265358979323846;
 
int main() {
    string s;
    cin>>s;
    if (s=="ABC"){
        cout<<"ARC"<<endl;
    }
    else{
        cout<<"ABC"<<endl;
    }
}

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('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):
s=input()
if s == ARC:
  print("ABC")
elif s == ABC:
  print("ARC")
else:
  print("input is wrong")

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

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())

A = 0
B = 0
test = 10**3
for i in range(-test, test):
	a = (X + i**5)**0.2
	if type(a) == float:
		if round(a, 10).is_integer():
			# print(int(a), i)
			A, B = int(a), i
			break
print(A, B)

S = input()

if "B" in S:
  print(S.replace("B", "R"))
elif "R" in S:
  print(S.replace("R", "B"))

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 S:
    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):
import sys
import math
import numpy as np
import copy

def main():
    s = input()
    print "ARC" if s == "ABC" else "ABC"
    return 0

if __name__ == '__main__':
    sys.exit(main())

import sys
import math
import numpy as np
import copy

def main():
    s = input()
    print("ARC" if s == "ABC" else "ABC")
    return 0

if __name__ == '__main__':
    sys.exit(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):
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 = input()
if S[1] == B:
  print("ARC")
else:
  print('ABC')

S = input()

if S[1] == 'B':
  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, m = map(int, input().split())
h = [0]+list(map(int, input().split()))
ans = [0]+[1]*n
for i in range(m):
    a, b = map(int, input().split())
    if h[a]>=h[b]:
        ans[b] = 0
    if h[b]>=h[a]:
        ans[a] = 0
print(sum(ans))

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
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().rstrip()

if s[2]=='B':
    s='ARC'


print(s)

s = input().rstrip()

if s[2]=='B':
    s='ARC'


print(s)

s = input().rstrip()

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

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()

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):
ABC = input("The element of S: ")
ARC = input("The element of S: ")
if ABC == "S":
    print("ABC")
if ARC == "S":
    print("ARC")


S = input("The element of S: ")
if S == "ABC":
    print("ARC")
if S == "ARC":
    print("ABC")


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


S = input("The element of S: ")
if S == "ABC":
    print("ABC")
if S == "ARC":
    print("ARC")


S = input("The element of S: ")
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

Wrong Answer

Wrong Answer

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()
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 == 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 = 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):
N, M = map(int, input().split())

H = input().split()
    
t_1 = [int(h) for h in H]

t_2 = []
    
for m in range(M):
      
    g = 0
    
    A, B = map(int, input().split())
    
    if t_1[A-1] > t_1[B-1]:
        
        g = t_1[A-1]
        f = t_1[B-1]
        
    
    else:
        
        g = t_1[B-1]
        f = t_1[A-1]
        
    if f in t_2:    
        t_2.remove(f)
            
    t_2.append(g)
    
print(len(set(t_2)))

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):
import itertools

x = int(input())

y = itertools.combinations(range(-80,80), 2)
for n in y:
    if (n[0]**5 - n[1]**5) == x:
        print(n[0], n[1])
        break
    elif (n[1]**5 - n[0]**5) == x:
        print(n[1], n[0])
        break

import itertools

x = int(input())

y = itertools.combinations(range(-100,100), 2)
i = 0
for n in y:
    if (n[0]**5 - n[1]**5) == x:
        print(n[0], n[1])
        break
    elif (n[1]**5 - n[0]**5) == x:
        print(n[1], n[0])
        break
#print("miss")

import itertools
 
x = int(input())
 
y = itertools.combinations(range(-50,50), 2)
i = 0
for n in y:
    if (n[0]**5 - n[1]**5) == x:
        print(n[0], n[1])
        break
    elif (n[1]**5 - n[0]**5) == x:
        print(n[1], n[0])
        break

x = int(input())

y = itertools.combinations(range(-50,50), 2)
i = 0
for n in y:
    if (n[0]**5 - n[1]**5) == x:
        print(n[0], n[1])
        break
    elif (n[1]**5 - n[0]**5) == x:
        print(n[1], n[0])
        break

import itertools

x = int(input())

y = itertools.combinations(range(-100,100), 2)
i = 0
for n in y:
    if (n[0]**5 - n[1]**5) == x:
        print("{} {}".format(n[0], n[1]))
        break
    elif (n[1]**5 - n[0]**5) == x:
        print("{} {}".format(n[1], n[0]))
        break

a = input()

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

Verdicts: 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):
a = input()
if a is 'ABC':
  print('ARC')
eles:
  print('ABC')

a = input()
if a is 'ABC':
  print('ARC')
eles:
  print('ABC')

a = input()
if a == '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("AGC")
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()
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):
X = int(input())
for A in range(-150, 150):
    for B in range(-150, 150):
        if A**5 - B**5 == X:
            print(A, B)
            break
    else:
        continue
    break

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 = inpu()
if s == 'ARC':
  print('ABC')
else:
  print('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):
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):
a = input()
if a = 'ABC':
  print('ARC')
else:
  print('ABC')
  

a = input()
if a == 'ABC':
  print('ARC')
elif a == '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):
import numpy as np
import math
s = input()
print(s)


import numpy as np
import math
s = input()
if s == "ABC"
    print("ARC")
else:
    print("ABC")

s = input()

if s == "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):
import copy
n,m = map(int,input().split())
ht = [x for x in input().split()]
hl = {x + 1 : int(ht[x]) for x in range(len(ht))}
mx = {h:0 for h in hl}
for i in range(m):
    l,r = map(int,input().split())
    mx[l] = max(mx[l],hl[r])
    mx[r] = max(mx[r],hl[l])
cnt = 0
for h in hl:
    if mx[h] < hl[h]:
        cnt += 1
print(cnt)

s = input()
ret = ""
if s=="ARC":
    ret = "ABC"
elif s=="ABC":
    ret = "ARC"
print(ret)

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('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 = int(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):
n = input()
print(["ABC","ARC"][n=="ARC"])

n = input()
print(["ABC","ARC"][n=="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 s=='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):
t=input()
if(t=="ABC"){
	print("ARC")}
else{
	print("ABC")}

t=input()
if(t=="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 is "ABC":
  print("ARC"):
else:
  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):
def main():
    from builtins import int, map, list, print
    import sys
    sys.setrecursionlimit(10 ** 6)

    input = sys.stdin.readline
    input_list = (lambda: input().rstrip().split())
    input_number = (lambda: int(input()))
    input_number_list = (lambda: list(map(int, input_list())))

    S = input()
    print(['ABC','ARC'][S=='ABC'])


if __name__ == '__main__':
    main()


def main():
    from builtins import int, map, list, print
    import sys
    sys.setrecursionlimit(10 ** 6)
    S = input()
    print(['ABC', 'ARC'][S == 'ABC'])


if __name__ == '__main__':
    main()


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):
if S == 'ABC':
    print('ARC')
else S == 'ARC':
    print('ABC')



S = input('=')

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



S = input('=')

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


S = ''

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



var S = input('先週開催されたコンテストは？')

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



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



S = input('=')

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


s = input()
a = ["ABC", "ARC"]
print(a[(a.index(s)+1)%len(a)])

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Runtime Error

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):
S = str(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

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()
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 == "arc":
 print("abc")
else :
 print("arc")

s = input()
if s == "arc":
 print("abc")
else :
 print("arc")

s = input()
if s == "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()
if (S == 'ABC'):
  print('ARC')
print('ABC')

S = input()
print(S)

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


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()

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

S = input()

if S[1] == 'R':
    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()
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=='ABC':
    print('ACR')
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):
string = input()
if string == "ARC":
  print("ABC")
else:
  print("ABC")

string = input()
if string == "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):
N=input()

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


N=input()

print("ABC" if N=="ARC" else "ARC")


Verdicts: Runtime Error

Accepted