#include <bits/stdc++.h>
using namespace std;
const long long INF = 1LL << 58;
const long long MOD = 1000000007;
struct Edge {
  long long s, t, d;
};
template <class T>
inline bool chmax(T &a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmin(T &a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
signed main() {
  long long A, B, N;
  cin >> N;
  A = 0;
  B = 0;
  char c;
  for (long long i = 0; i < N; i++) {
    cin >> c;
    if (c = 'R')
      A++;
    else
      B++;
  }
  if (A > B)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
