#include <cstdio>

char s[1000];

int main() {
  int n;
  scanf("%d", &n);
  scanf("%s", s);
  int wc[2] = {};
  for (int i = 0; s[i]; ++ i)
    if (s[i] == 'R')
      ++ wc[0];
    else ++ wc[1];
  printf(wc[0] > wc[1] ? "Yes" : "No");
}
