N = int(input())
s = str(input())
print(s)
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")