#include <bits/stdc++.h>
using namespace std;
int main() {
  string* a;
  int n;
  int m = 0;
  cin >> n;
  a = new string[n];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] == "R") {
      m++;
    }
  }
  if (m > (n / 2)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
