#include <bits/stdc++.h>
using namespace std;
int main() {
  int r, b, i, n;
  char c;
  scanf("%d", &n);
  getchar();
  for (i = 0; i < n; i++) {
    c = getchar();
    if (c == 'R')
      r++;
    else
      b++;
  }
  if (r > b)
    printf("Yes");
  else
    printf("No");
  return 0;
}
