import atexit
import io
import sys

buff = io.BytesIO()
sys.stdout = buff


@atexit.register
def write():
    sys.__stdout__.write(buff.getvalue())

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