#include <bits/stdc++.h>
using namespace std;
long long N;
signed main() {
  cin >> N;
  string s;
  cin >> s;
  long long r, b;
  for (long long(i) = 0; (i) < (N); (i)++) {
    if (s[i] == 'R') {
      r++;
    } else {
      b++;
    }
  }
  if (r > b) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
