#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  string s;
  cin >> s;
  int Rcnt, Bcnt = 0;
  for (int i = 0; i < N; i++) {
    if (s[i] == 'R') {
      Rcnt++;
    } else {
      Bcnt++;
    }
  }
  if (Rcnt > Bcnt) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  return 0;
}
