Problem:
 Score : 200 points    Problem Statement  There are N people numbered 1 to N . Each person wears a red hat or a blue hat.  You are given a string s representing the colors of the people. Person i wears a red hat if s_i is R , and a blue hat if s_i is B .  Determine if there are more people wearing a red hat than people wearing a blue hat.      Constraints  1 \leq N \leq 100  |s| = N  s_i is R or B .         Input Input is given from Standard Input in the following format:  N  s       Output If there are more people wearing a red hat than there are people wearing a blue hat, print Yes ; otherwise, print No .        Sample Input 1 4
RRBR      Sample Output 1 Yes   There are three people wearing a red hat, and one person wearing a blue hat.  Since there are more people wearing a red hat than people wearing a blue hat, the answer is Yes .        Sample Input 2 4
BRBR      Sample Output 2 No   There are two people wearing a red hat, and two people wearing a blue hat.  Since there are as many people wearing a red hat as people wearing a blue hat, the answer is No .

Solution (Python):
import sys
from pprint import pprint

def solve(N, people):
    n_red = 0
    n_blue = 0
    for i in xrange(len(people)):
        
        if people[i] == "R":
            n_red += 1
        elif people[i] == "B":
            n_blue += 1
        else:
            print "something wrong!"

    if n_red > n_blue:
        return "Yes"
    else:
        return "No"

if __name__ == '__main__':

    N = sys.stdin.readline().strip()
    people = sys.stdin.readline().strip()
    ans = solve(int(N), people)
    print ans

Solution (Python):
n = input()
b = 0
rc = 0
for x in input().strip():
    if x == "R":
        rc += 1
    else:
        b += 1
if rc > b:
    print("Yes")
else:
    print("No")

Solution (Python):
n=int(input())
s=input()
if s.count('R') > s.count('B'):
    print('Yes')
else:
    print('No')

Solution (Python):

import sys



N = int(input())
S = input()

res = 0

for i in S:
    if i == 'R':
        res += 1
    else:
        res -= 1
if res > 0:
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())
s = input()

if s.count("R") > s.count("B"):
  print("Yes")
else:
  print("No")

Solution (Python):
import time
import sys
import time
fl,sl=[input() for i in range(2)]
red = "R"
blue = "B"
numred = sl.count(red)
numblue = sl.count(blue)
if int(numred) > int(numblue):
  print("Yes")
else:
  print("No")

Solution (Python):
input_num = int(input())
input_color = input()
r_num = 0
b_num = 0
for color in input_color:
    if color == "R":
        r_num += 1
    if color == "B":
        b_num += 1
if r_num > b_num:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
s = input()


if(s.count("B") < s.count("R")):
    print("Yes")
else:
    print("No")

Solution (Python):
n=int(input())
s=input().count("R")
print("YNeos"[s<=n-s::2])

Solution (Python):
n=int(input())
a=input()
if a.count("R")>a.count("B"):
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
s = input()
print("YNeos"[s.count("R") <= s.count("B")::2])

Solution (Python):
num = int(input())
cap = input()
R=0
B=0
for a in range(num):
    if(cap[a]=='R'):
      R+=1
    elif(cap[a]=='B'):
      B+=1

if(R>B):
  print('Yes')
else:
  print('No')

Solution (Python):

N = input()
S = input()
red, blue = 0, 0

for i in S[:]:
    if i == 'R':
        red += 1
    else:
        blue += 1

if red > blue:
    print('Yes')
else:
    print('No')

Solution (Python):
n = int(input())

k = input()
p = 0
r_count = 0
b_count = 0
for l in range(n):
    if str(k[p]) == "R":
        r_count += 1
        p += 1
    elif str(k[p]) == "B":
        b_count += 1
        p += 1
    else:
        pass

if r_count > b_count:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
s = input()

r = []
b = []
for _ in s:
    if _ == 'R':
        r.append(_)
    else:
        b.append(_)

if len(r) > len(b):
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())
s = input()
if s.count("R") > s.count("B"):
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
s = input()

red = 0
blue = 0
for _ in s:
  if _ == "B":
    blue += 1
  else:
    red += 1

if red > blue:
  print("Yes")
else:
  print("No")

Solution (Python):
N = int(input())
s = input()

red = 0
blue = 0
for c in s:
  if c == "R":
    red += 1
  else:
    blue += 1

if red > blue:
  print("Yes")
else:
  print("No")

Solution (Python):
N = int(input())
s = input()
R = s.count("R")
B = s.count("B")

if(R > B): print("Yes")
else: print("No")

Solution (Python):
N = int(input())
S = input()
R = 0
B = 0
for i in range(N):
    if S[i] == "R":
        R += 1
    
    else:
        B += 1

if R > B:
    print("Yes")

else:
    print("No")

Solution (Python):
N = int(input()) 
s = input() 
Red = s.count('R')
Blue = len(s) - Red
if Red > Blue:
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()
s = input()
rn = 0
bn = 0
for i in range(len(s)):
    if s[i] == "R":
        rn += 1
    else:
        bn += 1

if rn > bn:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
s = input()
r = 0
b = 0
for i in range(N):
  code = s[i]
  if code == 'R':
    r += 1
  else:
    b += 1
if r > b:
  print('Yes')
else:
  print('No')

Solution (Python):
N = int(input())
s = input()
r = s.count('R')
b = len(s) - r
if r > b:
  print('Yes')
else:
  print('No')

Solution (Python):
n = int(input())
s = input()
if s.count('R') > s.count('B'):
    print('Yes')
else:
    print('No')

Solution (Python):
n = int(input())
s = list(input())

r = s.count("R")
b = s.count("B")
if r > b :
    print("Yes")
else :
    print("No")

Solution (Python):


N = int(input())

s = input()
rcount = 0
for c in s:
    if c == 'R':
        rcount += 1
bcount = N - rcount
if rcount > bcount:
    print('Yes')
else:
    print('No')

Solution (Python):
n = input()
iro = input()
lis = list(iro)

b = lis.count("B")
r = lis.count("R")
if r > b:
  print("Yes")
else:
  print("No")

Solution (Python):
N=int(input())
hats=input()
 
red=0
for hat in hats:
   if hat=="R":
      red=red+1
 
if red>N-red:
   print("Yes")
else:
   print("No")

Solution (Python):
n = int(input())
s = input()

num_r = s.count('R')
num_b = s.count('B')

if num_r > num_b:
    print('Yes')
else:
    print('No')

Solution (Python):

import sys
input = sys.stdin.readline

N = int(input())
S = input()

cnt = 0
for i in range(N):
    if S[i] == 'R': cnt += 1
    else: cnt -= 1

if cnt > 0: print('Yes')
else: print('No')

Solution (Python):
N = input()
L = input()
R_list = [s for s in L if 'R' in s]
B_list = [s for s in L if 'B' in s]
if len(R_list) >len(B_list):
    print('Yes')
else:
    print('No')

Solution (Python):


N = int(input())
s = input()

cntR = 0
cntB = 0

for i in s :
    if i == "R" :
        cntR += 1
    else :
        cntB += 1

if cntR > cntB :
    print("Yes")
else :
    print("No")

Solution (Python):
num = int(input())
s_list = list(input())

rc = 0
bc = 0
for i in range(num):
    if s_list[i] == "R":
        rc += 1
    else:
        bc += 1

if rc > bc:
    print("Yes")
else:
    print("No")

Solution (Python):
n=input()
s=input()
a=s.count("R")
b=s.count("B")
if a>b:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(raw_input())
s = raw_input()

b = s.count('B')
r = s.count('R')
if r > b:print 'Yes'
else: print 'No'

Solution (Python):
import sys

man = int(input())
s = str(input())

if 1 >= man and man <= 100:
    print('No')
    sys.exit()

str = s[0:man]

r_val = str.count('R')
b_val = str.count('B')

if r_val > b_val:
    print('Yes')
else:
    print('No')

Solution (Python):
def main():
    N = int(input())
    S = input()
    R = 0
    B = 0
    for i in range(0,N):
        if S[i] == "R":
            R = R + 1
        else:
            B = B + 1
        if R > N/2:
            print("Yes")
            return
        elif B > N/2:
            print("No")
            return
    print("No")
    
if __name__ == '__main__':
    main()

Solution (Python):
n=int(input())-1
print("Yes"if sorted(input())[n//2]=="R" else"No")

Solution (Python):
cnt = int(input())

color = input()

r_c = 0
b_c = 0

for i in range(cnt):
    if color[i] == 'R':
        r_c += 1
    elif color[i] == 'B':
        b_c += 1

if r_c > b_c:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
s = list(input())
c = 0
for i in s:
     if i == 'R':
          c += 1
if c > n-c:
     print("Yes")
else:
     print("No")

Solution (Python):
N = int(input())
s = input()
R_count = 0
B_count = 0
for si in s:
    if si == "R":
        R_count += 1
    else:
        B_count += 1
if R_count > B_count:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input().rstrip())
s = input().rstrip()

r = 0

for i in range(n):
	if s[i] == 'R':
		r += 1

if r > n - r:
	print("Yes")
else:
	print("No")

Solution (Python):
N = int(input())
s = input()

if s.count("R") > N/2:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
s = input()

B = R = 0
for c in s:
    if c=='B':
        B += 1
    elif c=='R':
        R += 1

print('Yes' if R>B else 'No')

Solution (Python):
ans = [None, None]
red = 0
blue = 0

ans[0] = int(input())
ans[1] = input()

for j in range(ans[0]):
   if ans[1][j] == 'R':
      red +=1
   else:
      blue += 1 
if red <= blue:
   print('No')
else:
   print('Yes')

Solution (Python):
_ = input()
input_string = input()

if input_string.count('R') > input_string.count('B'):
    print("Yes")
else:
    print("No")

exit(0)

Solution (Python):



n = input()
s = input()

nr = s.count("R")
nb = s.count("B")

if nr > nb:
	print("Yes")
else:
	print("No")

Solution (Python):
num = int(input())
col = input()
r = col.count("R")
b = num - r
if r > b :
    ans = "Yes"
else :
    ans = "No"
print (ans)

Solution (Python):
N = int(input())
s = input()

if s.count('R') > s.count('B'):
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())
s = input()

h = N//2
r = 0
b = 0
for c in s:
	if c == "R":
		r += 1
	else:
		b += 1
if r > b:
	print("Yes")
else:
	print("No")

Solution (Python):
N = int(input())
s = input()

R = s.count("R")
B = N - R
if R > B:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
s = str(input())
while len(s) != N:
    pass

if s.count("R") > s.count("B"):
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
s = input()

a = s.count('R')

if a*2 > N:
    print('Yes')
else:
    print('No')

Solution (Python):
i = int(input())
str = input()
r_count = 0

for color in str:
    if color == 'R':
        r_count+=1

if r_count * 2 > i:
    print('Yes')
else:
    print('No')

Solution (Python):
N=int(input())
x=0
y=0
s=input()

for i in range(N):
   if s[i]=='R':
        x+=1
   else:
        y+=1


if x>y:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
s = input()

cr = 0
cb = 0
for i in range(n):
    if s[i] == 'R':
        cr += 1
    else:
        cb += 1

if cr > cb:
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()
stringi = input()
t = 0
r = 0
R = "R"
B = "B"
b= 0
while(t <int(N)):
   if(stringi[t] == R):
      r+=1
   else:
      b+=1
   t+=1
if(r>b):
   print("Yes")
else:
   print("No")

Solution (Python):



import sys

def main():
    N = int(sys.stdin.readline().strip())
    s = sys.stdin.readline().strip()
    R = s.count('R')
    B = s.count('B')
    if R > B:
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    main()

Solution (Python):
num = int(input())
str = input()
char_list = list(str)
counter_b = 0
counter_r = 0
for item in char_list:
    if item == 'R':
        counter_r += 1
    else:
        counter_b += 1

if(counter_r > counter_b):
  print('Yes')
else:
  print('No')

Solution (Python):
N=int(input())                                   
s=input()

red=int(0)
blue=int(0)

for i in range(N):
        if s[i]=="R":
                red+=1
        elif s[i]=="B":
                blue+=1



if red>blue:
        print('Yes')
else:
        print('No')

Solution (Python):


from sys import stdin

def load():
    n = stdin.readline()
    return n

n = int(load())
s = load()

red = 0
for i in s:
    if i == 'R':
        red += 1

if red > n/2.0:
    print('Yes')
else:
    print('No')

Solution (Python):
a = int(input().strip())
b = list(input().strip())
r_count = 0
b_count = 0

for i in range(a):
     if b[i] == 'R':
          r_count += 1
     else:
          b_count +=1

if r_count > b_count:
     print('Yes')
else:
     print('No')

Solution (Python):
N = int(input())
s = str(input())
red = 0
blue = 0
for si in s:
    if si == 'R':
        red += 1
    if si == 'B':
        blue += 1
if red > blue:
    print("Yes")
if red <= blue:
    print("No")

Solution (Python):
N = int(input())
S = input()

r_count = 0
for s in S:
    if s == 'R':
        r_count += 1

if r_count > (N - r_count):
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())
S = list(input())
R_count = 0
B_count = 0
for i in S:
    if(i == "R"):
        R_count += 1
    else:
        B_count += 1
if(R_count > B_count):
    print("Yes")
else:
    print("No")

Solution (Python):
input1 = input()
N = int(input1)
input2 = input()
S = list(input2)
 
R = 0
B = 0
h = 'No'
 
for i in range(N):
  if S[i] == 'R':
    R += 1
  else:
    B += 1
  
if R > B:
  h = 'Yes'

print(h)

Solution (Python):
A = int(input())
B = list(input())

count_RED = 0
for i in range (0, A):
    if B[i] == "R":
        count_RED += 1
count_BLUE = A - count_RED
if (count_RED > count_BLUE):
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()
s = input()
blue = 0
red = 0
for i in s:
  if i == "R":
    red += 1
  else:
    blue += 1
if blue < red:
  print("Yes")
else:
  print("No")

Solution (Python):
N = int(input())

S = list(input())

R = 0

for s in S:
    if s =='R':
        R+=1

if R*2 > N:
    print('Yes')
else:
    print('No')

Solution (Python):
n = int(input())
array = list(input())
array.sort()
length = len(array)
if(length%2==0):
    if(array[int(length/2)-1]=='B'):
        print("No")
    else:
        print("Yes")
else:
    if(array[int(length/2)]=='B'):
        print("No")
    else:
        print("Yes")

Solution (Python):

n = int(input())
s = input()

cnt = s.count("R")

if cnt > n - cnt:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
s = input()
r = 0
b = 0
for cap in s:
    if cap == 'R':
        r+=1
    elif cap == 'B':
        b+=1
if r>b:
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())
S = input()
r = 0
for i in range(len(S)):
	if S[i] == "R":
		r+=1

if r > len(S) // 2:
	print("Yes")
else:
	print("No")

Solution (Python):
ninnzuu = int(input().rstrip())
mojiretsu = list(input())

count_R = 0
for i in mojiretsu:
	if (i=="R"):
		count_R+=1

if (count_R*2>ninnzuu):
	print("Yes")
else:
	print("No")

Solution (Python):


import sys

def parse_input(lines_as_string = None):


    lines = []
    if lines_as_string is None:
        lines.append(input())
        tokens = lines[0].split(" ")
        n = tokens[0]
        lines.append(input())
    else:
        lines = [e for e in lines_as_string.split("\n")][1:-1]
        tokens = lines[0].split(" ")
        n = tokens[0]

    s = lines[1]


    return (n, s)


def solve(n, s):



    sum_r = len([1 for c in s if c == "R"])

    result = "No"
    if sum_r > int(n) - sum_r:
        result = "Yes"

    return result

def main():
    

    print("%s" % solve(*parse_input()))

if __name__ == '__main__':

    main()

Solution (Python):
input()
s = input()
if s.count("R") > s.count("B"):
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
s = list(input())
a=0
b=0
for i in s:
  if i == 'R':
    a+=1
  else:
    b+=1
if a>b:
  print('Yes')
elif a<b or a==b:
  print('No')

Solution (Python):
a=int(input())
b =list(input())

c=b.count("R")
d=b.count("B")
if c>d:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
s = input()
num = s.count("R")
if num > n/2:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
str =input()

S = str.count("R")
if S > N//2 :
    print("Yes")
else:
    print("No")

Solution (Python):
member = int(input())
line = list(input())
if line.count("R") > line.count("B"):
    print("Yes")
else:
    print("No")

Solution (Python):
import sys

input_lines = input().split()
N = int(input_lines[0])
s = input()
count = 0
for i in range(N):
    if s[i] == 'R':
        count += 1
        if count > N/2:
            print("Yes")
            sys.exit()
print("No")

Solution (Python):
n=input()
s = input()
r_cnt = 0
b_cnt = 0
for color in s:
  if color == 'R':
    r_cnt += 1
  else:
    b_cnt += 1
else:
  if r_cnt > b_cnt:
    print('Yes')
  else:
    print('No')

Solution (Python):
n = int(input())
s = input()
rc = s.count('R')
if rc > n-rc:
    print('Yes')
else:
    print('No')

Solution (Python):
import sys


N = int(input())


str_list = list(input())



R_num = 0
for s in str_list:
    if s=='R':
        R_num += 1


if R_num > (N-R_num):
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())
s = str(input())
cntA = 0
cntB = 0

for i in  s:
    if i == "R":
        cntA = cntA + 1
    else:
        cntB = cntB + 1
        
if cntA > cntB:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
s = [i for i in input()]

red = s.count('R')
blue = s.count('B')

if red > blue:
  print('Yes')
else:
  print ('No')

Solution (Python):
N=int(input())
st=input()
R_num = st.count('R')

if R_num*2 > N:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()
s = input()

r = 0
b = 0
for s_i in s:
    if s_i == 'R':
        r += 1
    else:
        b += 1

if r > b:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()
s = input()
R = 0
B = 0

for c in s:
  if c == 'R':
  	R = R+1
  else:
    B = B+1

if R > B:
       print ("Yes")
else:
      print("No")

Solution (Python):
n = int(input())
lis = list(input())
c = 0
for item in lis:
  if item == "R":
    c += 1
  else:
    c -= 1
if c > 0:
  print("Yes")
else:
  print("No")

Solution (Python):
from sys import stdin

n = int(stdin.readline().rstrip())
data = stdin.readline().rstrip().split()
s = str(data[0])
count_red, count_blue = 0,0
for i in range(len(s)):
    if s[i] == "R":
        count_red += 1
    else:
        count_blue += 1

if count_red > count_blue:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
s = input()

print("Yes" if s.count('R') > s.count('B') else "No")

Solution (Python):
N = int(input())
s = input()
print('Yes' if s.count('R') > s.count('B') else 'No')

Solution (Python):
N = int(input())
s = [i for i in input()]
c = s.count('R')
print(['No','Yes'][c > N-c])

Solution (Python):
N = int(input())
s = input()

if s.count('R') > s.count('B'):
    print('Yes')
else:
    print('No')

Solution (Python):
n = float(input())
s = input().count('R')

if 2.0 > (n / s):
    print("Yes")

else:
    print("No")

Solution (Python):
N = int(input())

num=0

for s in input():
    if s=="R":
        num+=1
    else:
        num-=1

if num>0:
    print("Yes")
else:
    print("No")

Solution (Python):
a=input()
s=list(input())
x=s.count('R')
y=s.count('B')
if x>y:
    print('Yes')
else:
    print('No')

Solution (Python):
n = int(input());
s = list(input());

i = 0;
for index in range(n):
    if s[index] == "R":
        i = i + 1;

if i > n/2:
    print("Yes");
else:
    print("No")

Solution (Python):
N=int(input());s=input();r=0;b=0;
for char in s:
  if char=='R':
    r+=1
  else:
    b+=1
    
if r>b:
  print('Yes')
else:
  print('No')

Solution (Python):

n = int(input())
r = 0
for p in input().strip():
    if p == "R":
        r += 1
if n - r >= r:
    print("No")
else:
    print("Yes")

Solution (Python):



get = lambda: int(raw_input().strip())
getl = lambda: raw_input().strip()
gets = lambda: map(int, raw_input().strip().split())
getss = lambda n: [gets() for _ in xrange(n)]


N = get()
S = getl()


if S.count('R') > S.count('B'):
    print 'Yes'
else:
    print 'No'

Solution (Python):

N = int(input())
S = input()

print("Yes" if S.count('R') > N/2 else "No")

Solution (Python):
N = int(input())
s = list(input())
cnt_r = 0
cnt_b = 0
for i in range(N):
    if s[i] == "R":
        cnt_r += 1
    elif s[i] == "B":
        cnt_b += 1
if cnt_r > cnt_b:
    print("Yes")
else:
    print("No")

Solution (Python):
number = int(input())
hat_color = list(input())
R_number = hat_color.count('R')
B_number = hat_color.count('B')

if R_number <= B_number:
    print('No')
else:
    print('Yes')

Solution (Python):
from sys import stdin
import math
import itertools


def makeIntMatrix(lines):
    intMatrix = []
    for a in makeStringMatrix(lines):
        intMatrix.append([int(b) for b in a])
    return intMatrix
 
 
def makeStringMatrix(lines):
    stringMatrix = [line.split() for line in lines]
    return stringMatrix
 
 
def makeInt(line):
    return int(line.rstrip())
 
 
def makeMultiInteger(line):
    return [int(x) for x in line.rstrip().split()]


def solve(input_string):
    N = input_string[0].rstrip()
    array = input_string[1].rstrip()
    c_b = 0
    c_r = 0
    for t in array:
        if t == 'R':
            c_r += 1
        else:
            c_b += 1
    if c_r > c_b:
        return "Yes"
    return "No"


def main():
    input_lines = stdin.readlines()
    answer = solve(input_lines)
    print(answer)


if __name__ == '__main__':
    main()

Solution (Python):
N = input()
s = input()
num_R = s.count('R')
num_B = s.count('B')
if num_R > num_B:
    print("Yes")
else:
    print("No")

Solution (Python):
n=int(input())
string=input()
cnt=0
for color in string:
  if color == "R":
    cnt += 1
  else:
    cnt += -1

if cnt > 0:
  print("Yes")
else:
  print("No")

Solution (Python):
N = int(input())
s = input()

if s.count('B') < s.count('R'):
    print("Yes")
else:
    print("No")

Solution (Python):
N=int(input())
S=input()
count=0
for i in range(N):
  if S[i]=='R':
    count+=1
if N/2 < count:
  print('Yes')
else:
  print('No')

Solution (Python):
n=int(input())
s = input()

r = 0
b = 0
for i in s:
    if i == "R":
        r += 1
    if i == "B":
        b += 1

if r <= b:
    print("No")
else:
    print("Yes")

Solution (Python):
n = int(input())
s = sorted(list(input()))
ans = 'No'
if n%2==1:
    if s[n//2]=='R':
        ans = 'Yes'
elif s[n//2-1]=='R':
    ans = 'Yes'

print(ans)

Solution (Python):
input()
s = input()
if s.count('R') > s.count('B'):
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())
s = list(input())
if s.count('R') > s.count('B'):
    print('Yes')
else:
    print('No')

Solution (Python):
N=input()
s=input()
if s.count('R')>s.count('B'):
    print('Yes')
else:
    print('No')

Solution (Python):

n = int(input())
s = input().strip()

m = s.count('B')

if m < n-m:
    print("Yes")
else:
    print("No")

Solution (Python):
n=int(input())
s=input()
res=0
for i in s:
    if i=="R":
        res+=1
if res>n/2:
    print("Yes")
else: print("No")

Solution (Python):
N = int(input())
s = input()
RED = 0
BLUE = 0

for i in range(N):
  if s[i] == 'R':
    RED += 1
  else:
    BLUE += 1
    
if RED > BLUE:
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())
s = input()

rn = len([i for i in s if i=="R"])
bn = N - rn
print("Yes" if rn > bn else "No")

Solution (Python):
input()
colors = [c == 'R' for c in input()]
print('Yes' if 2*sum(colors) > len(colors) else 'No')

Solution (Python):
N = int(input())
s = input()
R_count = 0
B_count = 0

for i in s:
    if i == "R":
        R_count += 1
    elif i == "B":
        B_count += 1
        
print("Yes" if R_count > B_count else "No")

Solution (Python):
N=int(input())
s=str(input())
if s.count('R')>s.count('B'):
    print('Yes')
else:
    print('No')

Solution (Python):
n=int(input())
s=list(input())
r=0
b=0
for i in range(n):
  if s[i]=="R":
    r=r+1
  else:
    b=b+1
if r>b:
  print("Yes")
else:
  print("No")

Solution (Python):
from sys import stdin

N = int(stdin.readline())
s = stdin.readline()

count = 0

for i in range(N):
    if s[i:i+1] == 'R':
        count += 1

if count * 2 > N:
    print('Yes')
else: print('No')

Solution (Python):
N = int(input())
s = input()

blue_counter=0
red_counter=0

for i in s:
    if(i=="R"):
        red_counter+=1
    else:
        blue_counter+=1

if(red_counter>blue_counter):
    print("Yes")
else:
    print("No")

Solution (Python):

N = int(input())
s = list(input())
red = 0
blue = 0

for i in range(N):
    if s[i] == 'R':
        red += 1
    elif s[i] == 'B':
        blue += 1

if red > blue:
    print('Yes')
else:
    print('No')

Solution (Python):

import sys
import math
import numpy as np
import itertools


n = int(input())

s = list(input())
count_r = 0
count_b = 0
for i in range(n):
    if s[i] == 'R':
        count_r += 1
    else:
        count_b += 1

if count_r > count_b:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
s = input()
print('Yes' if s.count('R') > s.count('B') else 'No')

Solution (Python):
all_cap = int(input())
human = input()

red = 0
for part in human:
    if part == "R":
        red += 1

if (red * 2) > all_cap:
    print("Yes")
else:
    print("No")

Solution (Python):

n = int(input())
str = input()

red = 0

for i in range(n):
    if str[i] == 'R':
        red += 1

if red > n / 2:
    ans = 'Yes'
else:
    ans = 'No'

print(ans)

Solution (Python):
N = int(input())
s = input()

c_R = 0
c_B = 0
for string in s:
    if string == 'R':
        c_R+=1
    else:
        c_B+=1

if c_R > c_B:
    ans = 'Yes'
else:
    ans = 'No'

print(ans)

Solution (Python):
a = input()
c = input()

b = c.count("B") 
r = c.count("R")
if r > b:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
S = input()
r = S.count("R")
b = S.count("B")
if r > b:
  print("Yes")
else:
  print("No")

Solution (Python):
def main():
    n = int(input()) // 2
    numR = 0
    for c in input():
        if c == 'B':
            continue
        numR += 1

        if numR > n:
            print("Yes")
            return
    print("No")


if __name__ == '__main__':
    main()

Solution (Python):


N = int(input())
S = input()

R_num = 0

for char in S:
    if char == 'R':
        R_num += 1

if R_num > N / 2:
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())
S = list(input())
r = 0
x=float(N/2.0)
r_f=False
if x.is_integer():
  halfN=int(x)
else:
  halfN=int((N-1)/2)
for s in S:
  if s == "R":
    r+=1
  if halfN < r:
    r_f = True
    break
if r_f:
  print("Yes")
else:
  print("No")

Solution (Python):
n = int(input())
s = input()
if s.count('R') > s.count('B'):
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())
s = input()

ans = 0 
for i in range(N):
    if s[i] == "R":
        ans += 1


    
if ans > N/2:
    print("Yes")
else:
    print("No")

Solution (Python):
from sys import stdin

n = int(stdin.readline().rstrip())
s = stdin.readline().rstrip()

if s.count('R') > s.count('B'):
    print("Yes")
else:
    print("No")

Solution (Python):
N=input(str())
n=input(str())
A=n.count("R")
B=n.count("B")
if A>B:
  print("Yes")
else:
  print("No")

Solution (Python):
N = int(input())




S = input()
ans = 'Yes'

cnt = S.count('R')

if N-cnt >= cnt:
    ans = 'No'
print(ans)

Solution (Python):
length = int(input())
colors = list(input())
rcount = 0
for i in colors:
    if i == "R":
        rcount += 1
if rcount > length - rcount:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
alist = list(input())
R_num = alist.count("R")
B_num = alist.count("B")
if R_num > B_num:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
s = input()
red = 0
for i in s:
    if i == "R":
        red +=1
if red > n / 2:
    print("Yes")
else :
    print("No")

Solution (Python):
n = int(input())
s = list(input())

if list(sorted(s))[(n - 1) // 2] == 'R':
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()
S = input()
s = []
for c in S:
    s.append(c)

red = 0
blue = 0
for i in range(len(s)):
    if s[i] == "R":
        red += 1
    if s[i] == "B":
        blue += 1
        
if red > blue:
    print("Yes")
else:
    print("No")

Solution (Python):
num=int(input())
n=input()
Red=n.count("R")
hanbun=num//2
if Red>hanbun :
    print("Yes")
else :
    print("No")

Solution (Python):
a = int(input())
b = input()
if a/2 < b.count("R"):
    print("Yes")
else:
    print("No")

Solution (Python):

n = int(input())

s = input()

print( 'Yes' if s.count('R')> n//2 else 'No' )

Solution (Python):
N = int(input())
string  = input()
rcnt = 0
bcnt = 0
for char in string:
    if char == "R":
        rcnt +=1 
    else:
        bcnt += 1
if rcnt > bcnt :
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
s = input()

print('Yes' if s.count('R') > len(s)/2 else 'No')

Solution (Python):
N = int(input())
s = input()
if s.count('R') > s.count('B'):
    print('Yes')
else:
    print('No')

Solution (Python):
n = int(input())
st = input()
i = 0
le = len(st)
r = 0
b = 0
while i < le:
  if st[i] == "R":
    r += 1
  else:
    b += 1
  i += 1
if r > b:
  print("Yes")
else:
  print("No")

Solution (Python):
N = int(input())
s = list(input())
r = 0
b = 0

for i in range(0,N):
    if s[i] == 'R':
        r += 1
    else:
        b += 1

if r > b:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
s = input()

r = s.count('R')
b = s.count('B')

if r > b:
    print('Yes')
else:
    print('No')

Solution (Python):
n = int(input())
s = input()
red = 0
for i in s:
    if i == "R":
        red +=1
if red > n / 2:
    print("Yes")
else :
    print("No")

Solution (Python):
n = int(input())
s = list(input())

counter = 0
for i in range(len(s)):
    if s[i] == "R":
        counter += 1
if counter > n - counter :
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
S = input()

red = 0
blue = 0
for s in S:
  if s == 'R': red += 1
  else: blue += 1
    
if red > blue:
  print('Yes')
else:
  print('No')

Solution (Python):
n = int(input())
s = input()
if s.count('R') > s.count('B'):
    print('Yes')
else:
    print('No')

Solution (Python):
n = int(input())
s = list(input())
red = s.count("R")
blue = n - red
if red > blue :print("Yes")
else :print("No")

Solution (Python):
n = int(input())
s = input()

r = s.count('R')
if r>n/2 :
  print('Yes')
else :
  print('No')

Solution (Python):
N = int(input())
str = input()
num_red = str.count('R')
num_blue = str.count('B')

if num_blue < num_red:
    print('Yes')
else:
    print('No')

Solution (Python):
n = int(input())
s = input()
if s.count('R') > n//2:
    print('Yes')
else:
    print('No')

Solution (Python):
argN = int(input())
argColor = list(input())

cntR = 0
cntB = 0

for i in range(argN):
  if argColor[i] == "R":
    cntR += 1
  else:
    cntB += 1
    
if cntR > cntB:
  print("Yes")
else:
  print("No")

Solution (Python):
N = int(input())
s = str(input())

count = s.count('R')
if count > N-count:
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())
nb_R = len([s for s in input() if s == "R"])
ans = "Yes" if nb_R > int(N/2) else "No"
print(ans)

Solution (Python):
N = int(input())
s = input()
counter = 0
for letter in s:
    if letter == 'R':
        counter += 1

if counter > N/2:
   print('Yes')
else:
    print('No')

Solution (Python):
b=input()
a = input()
if a.count('R') > a.count('B') : print('Yes')
else : print('No')

Solution (Python):
a = int(input())
s = str(input())
red = 0
blue = 0
for i in range(a):
  if s[i] =='R':
    red += 1
  if s[i] =='B':
    blue += 1
if red>blue:
  print('Yes')
else:
  print('No')