#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  string s;
  cin >> N >> s;
  int R, B;
  for (auto &c : s) {
    if (c == 'R')
      R++;
    else
      B++;
  }
  if (R > B)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
