#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  int countr = 0;
  int countb = 0;
  vector<int> s;
  cin >> a;
  for (int i = 0; i < a; i++) {
    cin >> b;
    s.push_back(b);
    if (s[i] == 'R')
      countr++;
    else
      countb++;
  }
  if (countr > countb)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
