#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  int n;
  cin >> n;
  string s;
  int c = 0;
  for (int i = 0; i < n; ++i) {
    if (s[i] == 'R') ++c;
  }
  if (c > n - c) {
    puts("Yes");
  } else {
    puts("No");
  }
  return 0;
}
