#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;
}
const long long INF = 1LL << 60;
int dx[4] = {1, 0, -1, 0}, dy[4] = {0, 1, 0, -1};
long long ma = 1000000000 + 7;
int main() {
  int n, r, b;
  vector<char> s(n);
  string res = "No";
  for (int i = 0; i < n; i++) {
    cin >> s[i];
    if (s[i] == 'R') {
      r++;
    } else {
      b++;
    }
  }
  if (r > b) {
    res = "Yes";
  }
  cout << res << endl;
}
