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