#include <bits/stdc++.h>
using namespace std;
const static int mod = 1000000000 + 7;
const static int inf = INT_MAX / 2;
const static long long int INF = LLONG_MAX / 2;
const static double eps = 1e-10;
const static int dx[] = {1, 0, -1, 0};
const static int dy[] = {0, 1, 0, -1};
signed main(int argc, char *argv[]) {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  string s;
  cin >> s;
  int r, b;
  for (int i = 0; i < n; ++i) {
    if (s[i] == 'R')
      ++r;
    else
      ++b;
  }
  if (r > b)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
