#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
int n;
string s;
int main() {
  cin >> n >> s;
  int r, b;
  for (long long i = 0; i < n; i++) {
    if (s[i] == 'R')
      r++;
    else
      b++;
  }
  if (r > b) {
    cout << "Yes" << endl;
    ;
  } else {
    cout << "No" << endl;
    ;
  }
  return 0;
}
