#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, count = 0;
  cin >> n;
  char s[n];
  for (int i = 0; i < n; i++) {
    if (s[n] == 'R') count++;
  }
  if (count > n - count) {
    cout << "Yes";
    return 0;
  }
  cout << "No";
  return 0;
}
