# # # coding=utf-8
# # # Author: lee215

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

# 2019-03-30 20:18
N = get()
S = getl()


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