#include <bits/stdc++.h>
using namespace std;
int main() {
  int Number;
  cin >> Number;
  char Color[Number];
  int Red, Blue;
  for (int i = 0; i < sizeof(Color) / sizeof(char); i++) {
    char a;
    cin >> a;
    Color[i] = a;
  }
  for (int i = 0; i < sizeof(Color) / sizeof(char); i++) {
    if (Color[i] == 'R') {
      Red++;
    } else {
      Blue++;
    }
  }
  if (Red > Blue) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
