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