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