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