while True:
    a= int(input())
    b=input().split()
    cnt=0
    for i in b[0]:
      if i=='R':
        cnt+=1
      else:
        continue
    if int(cnt)>int(len(b[0])-cnt):
      print("Yes")
    else:
      print("No")
        
    
