#include <bits/stdc++.h>
using namespace std;
void solver(char *pcStr, int nStrLen) {
  if (pcStr == NULL || nStrLen <= 0 || nStrLen > 100) {
    printf("No\n");
    return;
  }
  int i = 0;
  int count = 0;
  for ((i) = 0; i < nStrLen; ++(i)) {
    if (pcStr[i] == 'R') {
      count++;
    }
  }
  if (count > ((nStrLen + 1) >> 1)) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
}
int main() {
  int i, n;
  char a[100] = {0};
  scanf("%d", &n);
  scanf("%s", a);
  solver(a, n);
  return 0;
}
