 int b=0;#include <queue>
#include <stack>
#include <string>
#include <sstream>
#include <algorithm>
#include <cmath>

using namespace std;

typedef long long ll;
#define rep(i, n) for(int i = 0; i < (int)(n); i++)



int main(){
  cin.tie(0); ios::sync_with_stdio(false);    // Magic for faster cin

  int N; string s;

  cin >> N;
  cin >> s;

  int r=0;
  for(int i=0;i<N;++i){
    if(s[i]=='R') r++;
  }
  int b=N-r;
  if(r>b) cout << "Yes" << endl;
  else cout << "No" << endl;

  return 0;
}
