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