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