#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int r = 0;
  for (int i = 0; i < n; i++) {
    if (getchar() == 'R') {
      r++;
    }
  }
  if (r * 2 > n) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  return (0);
}
