#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int n;
  string s;
  cin >> n >> s;
  int cnt = 0;
  for (ll i = 0; i < n; ++i)
    if (s[i] == 'R') cnt++;
  if (cnt <= n / 2)
    cout << "Yes";
  else
    cout << "No";
}
