#include <bits/stdc++.h>
using namespace std;
int main(void) {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n, b, r;
  b = 0;
  r = 0;
  cin >> n;
  string tmp;
  for (int i = 0; i < n; i++) {
    cin >> tmp;
    if (tmp == "B") {
      b++;
    } else {
      r++;
    }
  }
  if (r > b) {
    cout << "Yes\n";
  } else {
    cout << "No\n";
  }
  return 0;
}
