#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, Rnum, Bnum, res;
  string s;
  cin >> N >> s;
  Rnum = 0;
  for (int i = 0; i < N; i++) {
    res = s.find('R');
    if (res != string::npos) {
      Rnum++;
    }
  }
  Bnum = N - Rnum;
  if (Rnum > Bnum) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
