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