from collections import Counter
N = int(input())
s = input()
cnt = Counter(s)
#print(cnt)
if N % 2 == 0:
  print("Yes" if cnt["R"] > N // 2 else "No")
else:
  print("Yes" if cnt["R"] > N // 2 + 1 else "No")