#include <bits/stdc++.h>
int main(void) {
  char a[101];
  int n, r = 0, b = 0;
  scanf("%d", &n);
  fflush(stdin);
  gets(a);
  for (int i = 0; i < n; i++) {
    if (a[i] == 'R')
      r++;
    else
      b++;
  }
  if (r > b)
    printf("Yes");
  else
    printf("No");
}
