#include <bits/stdc++.h>
int main(void) {
  int count, count2;
  int win = 0;
  int n;
  int r = 0, b = 0;
  int maxval = 99999, maxnum = 0, sum = 0;
  int l[105];
  char s[105];
  scanf("%d", &n);
  scanf("%s", s);
  for (count = 0; s[count] != '\0'; count++) {
    if (s[count] == 'r') {
      r++;
    } else {
      b++;
    }
  }
  if (r > b) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  return 0;
}
int min(int a, int b) {
  int ans;
  if (a > b) {
    return b;
  } else {
    return a;
  }
}
int max(int a, int b) {
  int ans;
  if (a > b) {
    return a;
  } else {
    return b;
  }
}
double f(int a) { return (int)((a * a + 4.0) / 8.0); }
