#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using vb = vector<bool>;
using vvb = vector<vb>;
using vi = vector<int>;
using vvi = vector<vi>;
using vl = vector<ll>;
using vvl = vector<vl>;
template <class T>
using V = vector<T>;
template <class T>
using vv = vector<V<T>>;
template <class T>
using VV = vector<V<T>>;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
const double PI = acos(-1);
const double EPS = 1e-10;
const ll MOD = 1e9 + 7;
void cioacc() {
  cin.tie(0);
  ios::sync_with_stdio(false);
}
signed main() {
  int n;
  string s;
  cin >> n >> s;
  int r = 0, b = 0;
  for (ll i = (0); i < (ll)(n); ++i) {
    if (s[0] == 'R')
      ++r;
    else
      ++b;
  }
  cout << (r > b ? "Yes" : "No") << endl;
}
