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