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