#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  char s[100];
  for (int i = 0; i < n; i++) {
    cin >> s[i];
  }
  int num1 = 0, num2 = 0;
  for (int i = 0; i < n; i++) {
    if (s[i] == 'R') num1++;
    if (s[i] == 'B') num2++;
  }
  if (num1 >= num2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
