#include <bits/stdc++.h>
using namespace std;
int dy[] = {0, 0, 1, -1, 0};
int dx[] = {1, -1, 0, 0, 0};
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  string s;
  int n, R, B;
  cin >> n >> s;
  for (int i = 0; i < n; i++) {
    if (s[i] == 'R') R++;
  }
  if (R > n - R)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
