#include <bits/stdc++.h>
using namespace std;
static const int giga = pow(10, 9);
int main(void) {
  int n;
  cin >> n;
  int red = 0, blue = 0;
  for (int i = 0; i < n; i++) {
    char temp;
    cin >> temp;
    if (temp = 'R') {
      red++;
    } else {
      blue++;
    }
  }
  if (red > blue) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
