#include <bits/stdc++.h>
using namespace std;
int main() {
  char c;
  int n;
  cin >> n;
  int r, b;
  for (int i = 0; i < n; i++) {
    cin >> c;
    if (c == 'R')
      r++;
    else
      b++;
  }
  cout << ((r > b) ? "Yes" : "No") << endl;
}
