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