#include <bits/stdc++.h>
using namespace std;
signed main() {
  int n;
  cin.tie(0);
  ios::sync_with_stdio(false);
  cin >> n;
  int r = 0, b = 0;
  char a;
  for (int i = 0; (i) < (n); ++(i)) {
    cin >> a;
    if (a = 'R')
      r++;
    else
      b++;
  }
  if (r > b)
    puts("Yes");
  else
    puts("No");
  return 0;
}
