#include <bits/stdc++.h>
int main(void) {
  int N;
  char s[20];
  int i;
  int c = 0;
  int d = 0;
  scanf("%d", &N);
  scanf("%s", s);
  for (i = 0; i < 20; i++) {
    if (s[i] == 'R')
      c++;
    else if (s[i] == 'B')
      d++;
  }
  if (c > d)
    printf("Yes");
  else
    printf("No");
  return 0;
}
