Problem:


Score : 100 points

Problem Statement

Smeke has decided to participate in AtCoder Beginner Contest (ABC) if his current rating is less than 1200, and participate in AtCoder Regular Contest (ARC) otherwise.

You are given Smeke's current rating, x. Print ABC if Smeke will participate in ABC, and print ARC otherwise.

Constraints

1 ≦ x ≦ 3{,}000

x is an integer.

Input

The input is given from Standard Input in the following format:

x

Output

Print the answer.

Sample Input 1

1000

Sample Output 1

ABC

Smeke's current rating is less than 1200, thus the output should be ABC.

Sample Input 2

2000

Sample Output 2

ARC

Smeke's current rating is not less than 1200, thus the output should be ARC.



Sample input:
1000


Sample output:
ABC

Submission status: Wrong Answer

Solution code:
X= int(input())
if X>1200:
    print("ARC")
else :
    print("ABC")

Submission status: Wrong Answer

Solution code:
x = int(input())

if x <= 1200:
    print("ABC")
else:
    print("ARC")

Submission status: Wrong Answer

Solution code:
x = int(input())

if 1200 <= x:
  print("ABC")
else:
  print("ARC")

Submission status: Wrong Answer

Solution code:
r=["ABC","ARC"]
print(r[int(input())>1200])

Submission status: Wrong Answer

Solution code:
x = int(input())

if x <= 1200:
    print('ABC')
else:
    print('ARC')

Submission status: Wrong Answer

Solution code:
x = int(input())

if x <= 1200:
    print('ABC')
else:
    print('ARC')

Submission status: Wrong Answer

Solution code:
S = input()
start = S.find('A')
end = S.rfind('Z')
print(len(S[start:end])+1)

Submission status: Wrong Answer

Solution code:
2000

Submission status: Wrong Answer

Solution code:
x = int(input())

if x <= 1200 :
    print( "ABC" )
else:
    print( "ARC" )

Submission status: Wrong Answer

Solution code:
print('レートを入力してください')
rate = int(input())
print('参加するコンテストは')
if rate < 1200:
    print('ABC')
else:
    print('ARC')

Submission status: Wrong Answer

Solution code:
# すめけくんのレートxを整数で入力
x = int(input())

# レートが1200以下ならABCを出力、1200より大きければARCを出力
if x <= 1200:
    print("ABC")
else:
    print("ARC")

Submission status: Wrong Answer

Solution code:
# すめけくんのレートを整数で入力
sumeke_rate = int(input())

# レートが1200以下ならABCを出力、1200より大きければARCを出力
if sumeke_rate <= 1200:
    print("ABC")
else:
    print("ARC")

Submission status: Wrong Answer

Solution code:
a = int(input())

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

Submission status: Wrong Answer

Solution code:
print 'ABC' if int(raw_input()) <= 1200 else 'ARC'

Submission status: Wrong Answer

Solution code:
x=int(input())
if x>1200:
    print("ARC")
else:
    print("ABC")

Submission status: Wrong Answer

Solution code:
n = int(input())
if n <= 1200:
  print('ABC')
else:
  print('ARC')

Submission status: Wrong Answer

Solution code:
x=int(input())
if x<1200:
  print("ABC")
  
else:
  print("ARc")

Submission status: Wrong Answer

Solution code:
x=int(input())
if x<=1200:
  print("ABC")
else:
  print("ARC")

Submission status: Wrong Answer

Solution code:
x = int(input())
if x <= 1200:
    print("ABC")
else:
    print("ARC")

Submission status: Wrong Answer

Solution code:
x = int(input())
if x > 1200:
    print("ARC")
else:
    print("ABC")

Submission status: Wrong Answer

Solution code:
if int(input())<=1200:
    print('ABC')
else:
    print('ARC')

Submission status: Wrong Answer

Solution code:
s = input()
a=0
b=0
for i in range(len(s)):
  if s[i]=='A':
    a = i
    break
for i in range(len(s)-1,-1,-1):
  if s[i] == 'Z':
    b = i
    break
print(b-a+1)

Submission status: Wrong Answer

Solution code:
print(f"A{'RB'['12'>input()]}C")

Submission status: Wrong Answer

Solution code:
x = int(input())

#2回で3~11を作れる
count = 0

count += (x//11)*2
x = x%11
if x<7:
  count += 1
elif x>7:
  count+=2
else:
  count += 3


print(count)

Submission status: Wrong Answer

Solution code:
x = int(input())
if x >= 1200:
  print("ABC")
else:
  print("ARC")

Submission status: Wrong Answer

Solution code:
x = int(input())
if x > 1200:
  print("ABC")
else:
  print("ARC")

Submission status: Wrong Answer

Solution code:
x = int(input())
print('ABC' if x < 1200 else 'NO')

Submission status: Wrong Answer

Solution code:
a = int(input())
if a > 1200:
  print('ARC')
else:
  print('ABC')

Submission status: Wrong Answer

Solution code:
a=int(input())
if a > 1200:
  print('ARC')
else:
  print('ABC')

Submission status: Wrong Answer

Solution code:
print("A"+"BR"[int(input())<1200]+"C")

Submission status: Wrong Answer

Solution code:
sumeke=input()
sumeke=1200
if sumeke < 1200:
	print("ABC")
else:
	print("ARC")

Submission status: Wrong Answer

Solution code:
sumeke=input()
sumeke=int(sumeke)
sumeke=1200
if sumeke < 1200:
	print("ABC")
else:
	print("ARC")

Submission status: Wrong Answer

Solution code:
sumeke=input()
sumeke=int(sumeke)
sumeke=1200
if sumeke >= 1200:
	print("ARC")
else:
	print("ABC")

Submission status: Wrong Answer

Solution code:
x = int(input())
if x<=1200:print('ABC')
else:print('ARC')

Submission status: Wrong Answer

Solution code:
print("ABC" if 1200 < int(input()) else "ARC")

Submission status: Wrong Answer

Solution code:
x=int(input())
print("ABC" if x<=1200 else "ARC")

Submission status: Wrong Answer

Solution code:
S = int(input())
if S > 1200:
    print("ARC")
else:
    print("ABC")

Submission status: Wrong Answer

Solution code:
def resolve():
	r = int(input())
	if r > 1200:
		print("ARC")
	else:
		print("ABC")
resolve()

Submission status: Wrong Answer

Solution code:
x = int(input())

if x < 120:
  print('ABC')
else:
  print('ARC')

Submission status: Wrong Answer

Solution code:
x = int(input())
print("ABC" if x < 1201 else "ARC")

Submission status: Wrong Answer

Solution code:
import itertools
s = list(input())
s1 = list(itertools.dropwhile(lambda x: x != 'A',s))
s2 = list(itertools.dropwhile(lambda x: x != 'Z',s1[::-1]))
print(len(s2))

Submission status: Wrong Answer

Solution code:
x = int(input())
if x>1200:
  print('ARC')
else:
  print('ABC')

Submission status: Wrong Answer

Solution code:
x=int(input())

if x<=1200:
    print("ABC")
else:
    print("ARC")

Submission status: Wrong Answer

Solution code:
x = int(input())

if ((1 <= x) and (x <= 3000)):
    print("ABC")
else:
    print("ARC")

Submission status: Wrong Answer

Solution code:
str=input()
ans=[]
head,end=0,0

for i,val in enumerate(str):
	if val=='A':
		head=i
		ans.append(val)  
		continue
	elif val is not 'Z':
		ans.append(val)
		end=i
		continue
	elif val is 'Z':
		break
answer= ''.join(ans)
print(len(answer[head:end])+2)

Submission status: Wrong Answer

Solution code:
N = int(input())
if N < 1200:
  print('ABC')
else:
  print('AGC')

Submission status: Wrong Answer

Solution code:
x = int(input())

if x > 1200 :
  print ("ARC")
else :
  print ("ABC")

Submission status: Wrong Answer

Solution code:
x = int(input())

if x > 1200:
  print("ARC")
else:
  print("ABC")

Submission status: Wrong Answer

Solution code:
if int(input()) <= 1200:
  print("ABC")
else:
  print("ARC")

Submission status: Wrong Answer

Solution code:
import sys

def yn(b):
    print("Yes" if b==1 else "No")
    return

def resolve():
    readline=sys.stdin.readline
    x=int(readline().strip())
    if x>1200:
        print("ABC")
    else:
        print("ARC")
    #n,m,k=list(map(int, readline().strip().split()))
    #arr=list(map(int, readline().strip().split()))
    #n=int(readline().strip())
    #yn(1)

    return


resolve()

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-


#----------
x = int(input().strip())
#----------

print( "ABC" if x <= 1200 else "ARC")

Submission status: Wrong Answer

Solution code:
x = int(input())

if x > 1200:
  print('ABC')
else:
  print('ARC')

Submission status: Wrong Answer

Solution code:
x=int(input())
 
a=x%11
b=x//11
 
if a==0:
    ans=2*b
elif a<=6:
    ans=2*b+1
elif 5<a<11:
    ans=2*b+2
print(ans)

Submission status: Wrong Answer

Solution code:
x=int(input())

a=x%11
b=x//11
if 0<a<6:
    ans=2*b+1
elif a==0:
    ans=2*b
elif 5<a<11:
    ans=2*(b+1)
print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
num = len(s)
A = s.find("A")
Z = s.rfind("Z")
ans = Z - A
print(Z)

Submission status: Wrong Answer

Solution code:
x = int(input())
s = x // 11
a = x % 11
print(s*2+2) if a > 6 else print(s*2+1)

Submission status: Wrong Answer

Solution code:
s = input()
print(s.rfind("Z")-s.find('A')+1)

Submission status: Wrong Answer

Solution code:
print(["ABC","ARC"][int(input())>1200])

Submission status: Wrong Answer

Solution code:
s=str(input())
L=len(s)
start=0
end=0
for i in range(L):
    if s[i] =="A":
        start = s.index(s[i])
        break
for k in range(L):
    if s[k] =="Z":
        end = s.index(s[i])
Ans=end-start+1
print(Ans)

Submission status: Wrong Answer

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
# from fractions import gcd
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from functools import reduce
from bisect import bisect_left, insort_left
from heapq import heapify, heappush, heappop

INPUT = lambda: sys.stdin.readline().rstrip()
INT = lambda: int(INPUT())
MAP = lambda: map(int, INPUT().split())
S_MAP = lambda: map(str, INPUT().split())
LIST = lambda: list(map(int, INPUT().split()))
S_LIST = lambda: list(map(str, INPUT().split()))

sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7


def main():
    N = INT()
    print("ARC" if N < 1200 else "ARC")


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
if int(input()) <= 1200:
    print ('ABC')
else:
    print ('ARC')

Submission status: Wrong Answer

Solution code:
x=int(input())
if(x>=1200):
    print('ABC')
else:
    print('ARC')

Submission status: Wrong Answer

Solution code:
x=int(input())
if(x>1200):
    print('ABC')
else:
    print('ARC')

Submission status: Wrong Answer

Solution code:
x=int(input())
if(x>1200):
    print('ABC')
else:
    print('XYZ')

Submission status: Wrong Answer

Solution code:
if int(input()) >=1200:print('ARC')

Submission status: Wrong Answer

Solution code:
x = int(input())

if x < 1200:
  print("ABC")
else:
  print("AGC")

Submission status: Wrong Answer

Solution code:
#x,t=list(map(int,input().split()))
x = int(input())
if x <= 1200:
    print("ABC")
else:
    print("ARC")

Submission status: Wrong Answer

Solution code:
i = int(input())

if i <= 1000:
  print('ABC')
else:
  print('ARC')

Submission status: Wrong Answer

Solution code:
x = int(input())
if x <= 1200:
	print('ABC')
else:
	print('ARC')

Submission status: Wrong Answer

Solution code:
S = input()

counter = 0
for elm in S:
    if elm == 'A':
        counter += 1
    
    if counter > 0:
        counter += 1
    
    if elm == "Z":
        counter += 1
        break


print(counter)

Submission status: Wrong Answer

Solution code:
x = int(input())

if x<1200:
    print('ABC')
elif x>1200:
    print('ARC')

Submission status: Wrong Answer

Solution code:
print("ARC" if int(input()) > 1200 else "ABC")

Submission status: Wrong Answer

Solution code:
x = int(input())
if x <= 1200:
  print("ABC")
else:
  print("ARC")

Submission status: Wrong Answer

Solution code:

s = input()

a_index = s.find("A")
b_index = s.rfind("Z")

print(b_index - a_index + 1)

Submission status: Wrong Answer

Solution code:
import sys
x = int(input())
a = (x // 11) * 2
if x % 11 == 0 :
    print(a)
elif x%11 <= 6 :
    print(a+1)
else :
    print(a+2)

Submission status: Wrong Answer

Solution code:
number_of_kanshoku = int(input())

print(800*number_of_kanshoku - ((number_of_kanshoku//15)*200))

Submission status: Wrong Answer

Solution code:
X=int(input())
ans=X//11
if X%11==0:
    print(ans*2)
elif X%11<7:
    print(ans*2+1)
else:
    print(ans*2+2)

Submission status: Wrong Answer

Solution code:
n = int(input())

if n >1200:
    print('ARC')
else:
    print('ABC')

Submission status: Wrong Answer

Solution code:
n = int(input())

if n >1200:
    print('AGC')
else:
    print('ABC')

Submission status: Wrong Answer

Solution code:
#coding:utf-8

x = int(input())

if x >= 120:
  print('ARC')
else:
  print('ABC')

Submission status: Wrong Answer

Solution code:
x= int(input())

if(x<1200):
    print('ABC')
else:
    print('AGC')

Submission status: Wrong Answer

Solution code:
s = str(input())
print(s.rfind('Z') - s.find('A') + 1)

Submission status: Wrong Answer

Solution code:
a = int(input())
if a > 1200:
  print('ABC')
else:
  print('ARC')

Submission status: Wrong Answer

Solution code:
x=int(input())
if x <=1200:
   print("ABC")
else:
   print("ARC")

Submission status: Wrong Answer

Solution code:
x = int(input())
print("ABC") if x <= 1200 else print("ARC")

Submission status: Wrong Answer

Solution code:
x = int(input())

if x >= 1200:
  print("AGC")
else:
  print("ABC")

Submission status: Wrong Answer

Solution code:
x = int(input())
print("ABC" if x <= 1200 else "ARC")

Submission status: Wrong Answer

Solution code:
n = int(input())
print( n//11*2 + (n%11)//6 + 1 )

Submission status: Wrong Answer

Solution code:
if int(input()) > 1200:
  print("ABC")
else:
  print("ARC")

Submission status: Wrong Answer

Solution code:
print("ABC" if int(input()) < 120 else "ARC")

Submission status: Wrong Answer

Solution code:
print(["ARC","ABC"][1200<int(input())])

Submission status: Wrong Answer

Solution code:
n = int(input())
if n > 1200:
  print("ARC")
else:
  print("ABC")

Submission status: Wrong Answer

Solution code:
x = int(input())
if x <= 1200:
  print('ABC')
else:
  print('ARC')

Submission status: Wrong Answer

Solution code:
x=int(input())

if x <= 1200:
  print("ABC")
else:
  print("ARC")

Submission status: Wrong Answer

Solution code:
x=int(input())

if x <= 1200:
  print("ABC")
else:
  print("AGC")

Submission status: Wrong Answer

Solution code:
x=int(input())

if x < 1200:
  print("ABC")
else:
  print("AGC")

Submission status: Wrong Answer

Solution code:
s = input()
a = s.find("A")
b = s.rfind("Z")
print(b - a + 1)

Submission status: Wrong Answer

Solution code:
print(['ABC','ARC'][int(int(input())<1200)])

Submission status: Wrong Answer

Solution code:
print(['ABC','ARC'][int(input())<1200])

Submission status: Wrong Answer

Solution code:
a = int(input())
if a < 1199 :
 print("ABC")
else :
 print("ARC")

Submission status: Wrong Answer

Solution code:
N =int(input())
if N>1200:
    print("ARC")
else:
    print("ABC")

Submission status: Wrong Answer

Solution code:
import math
x = int(input())

count = 0
buff = x
count = buff // 11
_buff = buff % 11
me = buff // 5.5
_fo = me / 2
_ba = me / 2
se = x - me * 5.5
if se >= 7:
    print(int(buff//5.5+2))
    exit()
elif 7 > se and se > 0:
    print(int(buff//5.5+1))
    exit()
    
print(int(buff//5.5))

Submission status: Wrong Answer

Solution code:
x = int(input())
tmp = x // 11
ans = int(2*tmp)
if x % 11 == 0:
  pass
elif x % 11 <= 6:
  ans += 1
else:
  ans += 2
print(ans)

Submission status: Wrong Answer

Solution code:
if int(input()) > 1200:
    print('ARC')
else:
    print('ABC')

Submission status: Wrong Answer

Solution code:
a = input()
if a <= 1200:
    print "ABC"
else:
    print "ARC"

Submission status: Wrong Answer

Solution code:
print('ABC' if int(input()) < 1299 else 'ARC')

Submission status: Wrong Answer

Solution code:
if int(input()) < 1200:
  print('ABC')
else:
  print('AGC')

Submission status: Wrong Answer

Solution code:
N = int(input())
if N < 2000:
  print('ABC')
else:
  print('ARC')

Submission status: Wrong Answer

Solution code:
S = list(input())
st = 0
ed = 0
for i in range(len(S)):
    if (S[i] == 'A'):
        st = min(i, st)
    if (S[i] == 'Z'):
        ed = i
ans = ed - st + 1
print(ans)

Submission status: Wrong Answer

Solution code:
print('A%sC'%'RB'['200'>input()])

Submission status: Wrong Answer

Solution code:
print('A%sC'%'RB'['121'>input()])

Submission status: Wrong Answer

Solution code:
print('A%sC'%'RB'['13'>input()])

Submission status: Wrong Answer

Solution code:
print('A%sC'%'RB'['120'>input()])

Submission status: Wrong Answer

Solution code:
print('A%sC'%'RB'['12'>input()])

Submission status: Wrong Answer

Solution code:
x = int(input())
if x > 1200:
  print('ARC')
else:
  print('ABC')

Submission status: Wrong Answer

Solution code:
print("AABRCC"[int(input())//1200::2])

Submission status: Wrong Answer

Solution code:
s = input()
print(s.rfind('Z') - s.find('A') + 1)

Submission status: Wrong Answer

Solution code:
S = input()
head = 0
end = 0

for i in range(len(S)):
    if S[i] == "A":
        head = i
        break

for i in range(len(S) - 1, -1, -1):
    if S[i] == "Z":
        end = i + 1
        break

print(end - head)

Submission status: Wrong Answer

Solution code:
if int(input())<=1200:
  print('ABC')
else:
  print('ARC')

Submission status: Wrong Answer

Solution code:
#09:44
x = int(input())
print('ABC') if x <= 1200 else print('ARC')

Submission status: Wrong Answer

Solution code:
s = input()
print(len(s[s.find("A"):s.rfind("Z") + 1]))

Submission status: Wrong Answer

Solution code:
x=int(input())
if x>1200:
  print("ARC")
else:
  print("ABC")

Submission status: Wrong Answer

Solution code:
a= input()
if a<="1200":
    print("ABC")
else:
    print("ARC")

Submission status: Wrong Answer

Solution code:
i=int(input())
ans=i//11*2
if 0<i%11<=6:
  ans+=1
elif i%11==0:
  ans+=0
else:
  ans+=2
print(ans)

Submission status: Wrong Answer

Solution code:
x = int(input())
if x < 1200:
    ans = "ABC"
else:
    ans = "ARC"

Submission status: Wrong Answer

Solution code:
x = int(input())
if x <= 1200:
    ans = "ABC"
else:
    ans = "ARC"
print(ans)

Submission status: Wrong Answer

Solution code:
x = int(input())
print("ABC"if x <= 1200 else "ARC")

Submission status: Wrong Answer

Solution code:
s=input()
#print(s)
cnt=0
flag1=0
flag2=0

for i in range(len(s)):
  if s[i]=='A':
    flag1=1
  if flag1==1 and flag2==0:
    cnt+=1
  if flag1==1 and s[i]=='Z':
    flag2=1
    
print(cnt)

Submission status: Wrong Answer

Solution code:
print("ABC" if 1200<int(input()) else "ARC")

Submission status: Wrong Answer

Solution code:
a = int(input())
print('ABC') if a>=1200 else print('ARC')

Submission status: Wrong Answer

Solution code:
a = int(input())
print('ABC') if a>=1200else print('ARC')

Submission status: Wrong Answer

Solution code:
text = input()
a_list = []
z_list = []
for i in text:
    if i == "A":
        a_list.append(text.index(i))
    if i == "Z":
        z_list.append(text.index(i))

if a_list and z_list:
    a_z_len = max(z_list) - min(a_list) + 1
    if a_z_len > 0:
        print(a_z_len)
    else:
        print(0)
else:
    print(0)

Submission status: Wrong Answer

Solution code:
text = input()
a_list = []
z_list = []
for i in text:
    if i == "A":
        a_list.append(text.index(i)+1)
    if i == "Z":
        z_list.append(text.index(i)+1)

if a_list and z_list:
    a_z_len = max(z_list) - min(a_list) + 1
    if a_z_len > 0:
        print(a_z_len)
    else:
        print(0)
else:
    print(0)

Submission status: Wrong Answer

Solution code:
text = input()
a_list = []
z_list = []
for i in text:
    if i == "A":
        a_list.append(text.index(i))
    if i == "Z":
        z_list.append(text.index(i))

if a_list and z_list:
    a_z_len = max(z_list) - max(a_list) + 2
    if a_z_len > 0:
        print(a_z_len)
    else:
        print(0)
else:
    print(0)

Submission status: Wrong Answer

Solution code:
c = int(input())
if c <= 1200:
	print('ABC')
else:
	print('ARC')

Submission status: Wrong Answer

Solution code:
rate = int(input())

if rate < 1000:
    print('ABC')
else:
    print('ARC')

Submission status: Wrong Answer

Solution code:
print("A{'RB'[int(input())<1200]}C")

Submission status: Wrong Answer

Solution code:
print("AABRCC"[int(input())<1200::2])

Submission status: Wrong Answer

Solution code:
print("A{'BR'[int(input())<1200]}C")

Submission status: Wrong Answer

Solution code:
x = int(input())

if x > 1200:
    print("ARC")
else:
    print("ABC")

Submission status: Wrong Answer

Solution code:
s=input()
x=s.find('A')
y=s.rfind('Z')
print(y-x+1)

Submission status: Wrong Answer

Solution code:
x = int(input())
if x <= 1200:
    print('ABC')
else:
    print('ARC')

Submission status: Wrong Answer

Solution code:
atoz = input()
A_num = 0
Z_num = 0
for i, j in enumerate(atoz):
    if j == "A" and A_num == 0:
        A_num = i + 1
    elif j == "Z" and A_num < i:
        Z_num = i + 1
    else:
        pass
    
print(Z_num - A_num+1)

Submission status: Wrong Answer

Solution code:
s = input()
a = s.find("a")
z = s.rfind("z")
print(z - a + 1)

Submission status: Wrong Answer

Solution code:
s = input()
a = s.find("a")
z = s.find("z")
print(z - a + 1)

Submission status: Wrong Answer

Solution code:
s = input()
a = s.find("a")
z = s.rfind("z")
print(z - a)

Submission status: Wrong Answer

Solution code:
a = int(input())
if a <= 1200 :
    print("ABC")
else :
    print("ARC")

Submission status: Wrong Answer

Solution code:
a = int(input())
if a < 1200:
  print("ABC")
else:
  print("2000")

Submission status: Wrong Answer

Solution code:
x = int(input())
answer = 2*(x-x%11)//11
if x%11==0: pass
elif x%11<7: answer += 1
else: answer += 2
print(answer)

Submission status: Wrong Answer

Solution code:
print(("ABC","ARC")[int(input())<1200])

Submission status: Wrong Answer

Solution code:
N=input()
cnt=N/11*2
amari=N%11
if amari==0:
	pass
elif 0<amari and amari<=6:
	cnt+=1
else:
	cnt+=2
print cnt

Submission status: Wrong Answer

Solution code:
s=input()
rev=s[::-1]
n=len(s)
#print(n)
print((n-rev.find('Z')) - (s.find('A')))

Submission status: Wrong Answer

Solution code:


    

s = input()
     
a = s.find("A")
b = s.rfind("Z")
     
print(b-a+1)

Submission status: Wrong Answer

Solution code:
n = int(input())

if n <= 1200:
    print("ABC")
else:
    print("ARC")

Submission status: Wrong Answer

Solution code:
x = int(input())
if x <= 1200:
	print("ABC")
else:
	print("ARC")

Submission status: Wrong Answer

Solution code:
s = input()
a = s.find("A")
z = s.rfind("Z")
print(z-a+1)

Submission status: Wrong Answer

Solution code:
s = list(input())
cnt = 0
i = 0
j = len(s)-1
for t in range(len(s)):
    if s[t] == "A":
        break
    i += 1
for t in range(len(s)):
    if s[j] == "Z":
        break
    j -= 1
print(j-i+1)

Submission status: Wrong Answer

Solution code:
s = list(input())
cnt = 0
n = 1
for i in range(len(s)):
    if s[i] == "A":
        while s[i+n] != "Z":
            n += 1
        try:
            while s[i+n] == "Z":
                n += 1
        except:
            pass
        break
print(n)

Submission status: Wrong Answer

Solution code:
import sys

stdin = sys.stdin
def na(): return map(int, stdin.readline().split())
def ns(): return stdin.readline().strip()
def ni(): return int(stdin.readline())

if(ni() <= 1200): print("ABC")
else: print("ARC")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# 入力
x = int(input())

# 6->5->6->5-> ...が最大

# 11の商を計算し2倍
quot, rem = divmod(x, 11)
quot *= 2

# 剰余が1～6なら+1, 7～11なら+2
if rem>6:
    quot += 2
elif rem>0:
    quot += 1

print(quot)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# 入力
x = int(input())

# 6->5->6->5-> ...が最大手

# 11の商を計算し2倍
quot, rem = divmod(x, 11)
quot *= 2

# 剰余が1～6なら+1, 7～11なら+2
if rem>6:
    quot += 2
elif rem>0:
    quot += 1

print(quot)

Submission status: Wrong Answer

Solution code:
x = int(input())
if x % 11 == 0:
    print((x // 11)*2)
elif x % 11 <= 6:    
    print((x // 11)*2 + 1)
else:
    print((x // 11)*2 + 2)

Submission status: Wrong Answer

Solution code:
x = int(input())
point = 0
count = int(x / 11)
amari = x % 11
if amari <7 and amari >0:
    print(count*2+1)
else:
    print(count*2+2)

Submission status: Wrong Answer

Solution code:
x = int(input())
point = 0
count = int(x / 11)
amari = x % 11
if amari <6:
    print(count+1)
else:
    print(count+2)

Submission status: Wrong Answer

Solution code:
s = input()
a = s.find("A")
z = s.rfind("Z")
print(z-a+1)

Submission status: Wrong Answer

Solution code:
s = input()
a = s.find("A")
z = s.rfind("Z")
print(z-a)

Submission status: Wrong Answer

Solution code:
s = input()
a = s.find("A")
z = s.rfind("Z")
print(a)
print(z)
print(z-a)

Submission status: Wrong Answer

Solution code:
snuke = int(raw_input())
if snuke >= 1200:
    print 'ABC'
else:
    print 'ARC'

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
print(math.ceil((X / 11))*2)

Submission status: Wrong Answer

Solution code:
S = "aveAfgaAsfeggZfaZaaZ"
i = 0
for char in S:
    if char == "A":
        first = i
        break
    else:
        i += 1
n = 0
for char in S[::-1]:
    if char == "Z":
        last = n
        break
    else:
        n += 1

print(len(S[i:len(S)-n]))

Submission status: Wrong Answer

Solution code:
x = int(raw_input())
out = 2*(x//11)
if x%11 == 0: pass
elif x%11 <= 6: out += 1
else: out += 2
print out

Submission status: Wrong Answer

Solution code:
x = int(raw_input())
print 2*(x//11) + (2 if x%11>6 else 1)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

def main():
    x = int(input())
    ans = (x // 11) * 2
    x %= 11

    if x > 0:
        if x > 6:
            ans += 2
        else:
            ans += 1
    print(ans)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python
# -*- Coding: utf-8 -*-

test = raw_input()

if test >= 1200:
	print 'ARC'
elif test < 1200:
	print 'ABC'

Submission status: Wrong Answer

Solution code:
import sys
s = input();

i = 0
j = 0
for c in s:
    if c == 'A':
        j = i
        while True:
            if s[j] == 'Z':
                print(j-i + 1)
                sys.exit(0)
            else :
                j = j + 1
    i = i + 1

Submission status: Wrong Answer

Solution code:
x = int(raw_input())
 
a = x // 11
 
if   0 <  x % 11  <= 6:
    
      print 2*a +1

elif x%11==0 :
      print 2*a
else :
      print 2*a +2

Submission status: Wrong Answer

Solution code:
x = int(input())

if x <= 1200:
    print("ABC")
else:
    print("ARC")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
x = int(raw_input())
 
a = x // 12
 
if  x % 12  < 6:
    
      print 2*a +1 
else :
    print 2*a+2

Submission status: Wrong Answer

Solution code:
x = int(input())

ans = 0
if x<=6:
	ans=1
else:
	m = x%11
	if 1<=m<=6:
		ans = (x//11)*2+1
	else:
		ans = (x//11+1)*2
print(ans)

Submission status: Wrong Answer

Solution code:
x = raw_input()
x =int(x)
a = (x//11)*2
b = x%11

if b <7:
    print int(a+1)
else:
    print int(a+2)

Submission status: Wrong Answer

Solution code:
import numpy as np

x = raw_input()
x =int(x)
a = (x//11)*2
b = x%11

if b <7 and x != 0:
    print int(a+1)
elif x == 0:
    print 0
else:
    print int(a+2)

Submission status: Wrong Answer

Solution code:
x = int()
if 1 <= x <1200:
     print("ABC")
elif 1200 <=  x <= 3000:
     print("ARC")

Submission status: Wrong Answer

Solution code:
from sys import stdin

x = int(stdin.readline())

integral, mod = divmod(x, 11)
integral *= 2

if mod <= 6:
    integral += 1
else:
    integral += 2

print(integral)

Submission status: Wrong Answer

Solution code:


x = int(input())

if x <= 1200:
    print("ABC")
else:
    print('ARC')

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


def main():
    X = int(readline())
    if X<1200:
        print('ABC')
    else:
        print('ARC')

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
print("ABC" if int(input()) < 1200 else "ARC")

Submission status: Accepted

Solution code:
x = int(input())
print(['ABC','ARC'][1200<=x])

Submission status: Accepted

Solution code:
num = int(input())
if num < 1200:
    print("ABC")
else:
    print("ARC")

Submission status: Accepted

Solution code:
x = int(input())
if x < 1200:
    print("ABC")
else:
    print("ARC")

Submission status: Accepted

Solution code:
X= int(input())
if X<1200:
    print("ABC")
else :
    print("ARC")

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
print('ABC' if int(input())<1200 else 'ARC')

Submission status: Accepted

Solution code:
r = int(input())

print('ABC' if r < 1200 else 'ARC')

Submission status: Accepted

Solution code:
x = int(input())

if 1200 > x:
  print("ABC")
else:
  print("ARC")

Submission status: Accepted

Solution code:
print('ABC' if int(input()) < 1200 else 'ARC')

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
a = int(input())
if a < 1200:
    print('ABC')
else:
    print('ARC')

Submission status: Accepted

Solution code:
a=int(input())
if a<1200:print("ABC")
else:print("ARC")

Submission status: Accepted

Solution code:
x=int(input())

if x>=1200:
    ans="ARC"
else:
    ans="ABC"
print(ans)

Submission status: Accepted

Solution code:
x=int(input())
if x>=1200:
  print("ARC")
else:
  print("ABC")

Submission status: Accepted

Solution code:
x = int(input())

if x < 1200:
    print('ABC')
else:
    print('ARC')

Submission status: Accepted

Solution code:
print("ABC" if int(input()) < 1200 else "ARC")

Submission status: Accepted

Solution code:
x = int(input())
if x < 1200:
    print('ABC')
else:
    print('ARC')

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())
print("ABC" if x < 1200 else "ARC")

Submission status: Accepted

Solution code:
print("ABC" if int(input())<1200 else "ARC")

Submission status: Accepted

Solution code:
x = int(input())
if x < 1200:
    print('ABC')
else:
    print('ARC')

Submission status: Accepted

Solution code:
r=["ABC","ARC"]
print(r[int(input())>=1200])

Submission status: Accepted

Solution code:
a={0:'B',1:'R'}
print('A'+a[int(input())>=1200]+'C')

Submission status: Accepted

Solution code:
x = int(input())
print('ABC' if x < 1200 else 'ARC')

Submission status: Accepted

Solution code:
x = int(input())
if x<1200:
    print("ABC")
else:
    print("ARC")

Submission status: Accepted

Solution code:
a = int(input())
if a < 1200:
  print('ABC')
else:
  print('ARC')

Submission status: Accepted

Solution code:
s=int(input())
if s < 1200:
  print("ABC")
else:
  print("ARC")

Submission status: Accepted

Solution code:
if int(input())//1200:
    print("ARC")
else:
    print("ABC")

Submission status: Accepted

Solution code:
x = int(input())
if x < 1200:
  print("ABC")
else:
  print("ARC")

Submission status: Accepted

Solution code:
x=int(input())
if x<1200:
    print("ABC")
else:
    print("ARC")

Submission status: Accepted

Solution code:
a=int(input())
if(a<1200):
    print('ABC')
else:
    print('ARC')

Submission status: Accepted

Solution code:
x = int(input())
print('ARC' if x >= 1200 else 'ABC')

Submission status: Accepted

Solution code:
x=int(input())
if x<1200:print('ABC')
else:print('ARC')

Submission status: Accepted

Solution code:
r = int(input())
print('ARC') if r >= 1200 else print('ABC')

Submission status: Accepted

Solution code:
#53
x=int(input())
if x<1200:
    print('ABC')
else:
    print('ARC')

Submission status: Accepted

Solution code:
def main():
    x = int(input())
    print('ARC') if x >= 1200 else print('ABC')
    
    
if __name__ == '__main__':
    main()