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

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