4

'RRBR'



n = input()

import collections

cc = collections.Counter(input())

print('Yes' if cc['R'] > cc['B'] else 'No')
import collections

n,cc = int(input()), collections.Counter(input())

print('Yes' if cc['R'] > cc['B'] else 'No')
4
"RRBR"
n = input()
import collections

cc = collections.Counter(input())
print("Yes" if cc["R"] > cc["B"] else "No")

import collections

n, cc = int(input()), collections.Counter(input())
print("Yes" if cc["R"] > cc["B"] else "No")

-4 -"RRBR" -n = input() -cc = collections.Counter(input()) +n, cc = int(input()), collections.Counter(input())