#include <bits/stdc++.h>
using namespace std;
int N;
string s;
int r, b;
int main() {
  for (int i = 0; i < N; i++) {
    if (s.at(i) == 'R') {
      r++;
    }
    if (s.at(i) == 'B') {
      b++;
    }
  }
  if (r > b) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
