#include <bits/stdc++.h>
using namespace std;
const int N = 100 + 5;
int main() {
  string a;
  int n;
  cin >> n;
  cin >> a;
  int r, g;
  for (auto i : a) {
    if (i == 'R')
      ++r;
    else
      ++g;
  }
  if (r > g)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
