#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, sum = 0, B;
  cin >> N;
  for (int i = 0; i < N; i++) {
    string S;
    cin >> S;
    cout << S << endl;
    if (S == "R") {
      sum++;
    }
  }
  B = N - sum;
  if (sum > B) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
