#include <bits/stdc++.h>
using namespace std;
int ctoi(char c) { return c - '0'; }
int gcd(long long a, long long b) { return b ? gcd(b, a % b) : a; }
int lcm(long long a, long long b) { return a * b / gcd(a, b); }
int main() {
  int n;
  string s;
  cin >> n >> s;
  int ans = 0;
  for (int i = 0; i < n; i++) {
    if (s.at(i) == 'R') ans++;
  }
  if (n / 2 <= ans)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
