#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a;
  cin >> a;
int B = 0;
int R = 0;
  vector<string>s(a);
  for(int i = 0;i < a ; i++){
  cin >>s.at(i);
  }
 for(char c : s){
    if(c == 'B')
      B++;
    else
      R++;
    }
  if(B >= R)
cout << "No" << endl;
  else
cout <<"Yes" << endl;
}