#include<bits/stdc++.h>
using namespace std;

int main() {
  int n, r = 0, b = 0;
  string S;
  cin >> n >> S;
  for(int i = 0; i < S.size(); i++) {
    if(S[i] == 'R') r++;
    else b++;
  }
  if(r > b) cout << "Yes";
  else cout << "No";
}