#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.setf(ios::fixed);
  cout.precision(20);
  int n;
  cin >> n;
  string s;
  cin >> n;
  int c1 = 0, c2 = 0;
  for (int i = 0; i < n; ++i) {
    if (s[i] == 'R')
      ++c1;
    else
      ++c2;
  }
  if (c1 > c2) {
    cout << "Yes\n";
  } else {
    cout << "No\n";
  }
}
