#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, r, b;
  cin >> N;
  char s;
  for (int i = 0; i < N; i++) {
    cin >> s;
    if (s == 'R')
      r++;
    else
      b++;
  }
  if (r > b)
    cout << "Yes";
  else
    cout << "No";
}
