#include <bits/stdc++.h>
using namespace std;
int dx[] = {-1, 0, 1, 0};
int dy[] = {0, -1, 0, 1};
signed main(void) {
  cin.sync_with_stdio(false);
  cin.tie(0);
  int r = 0, b = 0;
  int N;
  cin >> N;
  ;
  string S;
  cin >> S;
  ;
  for (int i = 0; i < N; i++) {
    if (S[i] == 'b') b++;
    if (S[i] == 'r') r++;
  }
  if (r > b)
    cout << "Yes" << '\n';
  else
    cout << "No" << '\n';
  return 0;
}
