#include <bits/stdc++.h>
using namespace std;
int main() {
  int a;
  string b;
  cin >> a >> b;
  int R = 0;
  for (int i = 0; i < a; i++) {
    if (b[0] == 'R') {
      R++;
    }
  }
  if (2 * R > a) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
