#include <bits/stdc++.h>
int main() {
  int n, i;
  int s;
  int cnt = 0;
  scanf("%d", &n);
  while ((s = getchar()) == '\n') {
    if (s == 'R') cnt++;
  }
  if (cnt > n / 2)
    printf("Yes");
  else
    printf("No");
  return 0;
}
