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

int main(){
  int N;
  string s;
  cin >> N >> s;
  int c=0;
  for(int i=0;i<N;i++){
    if(s.at(i) == 'R') c++;
  }
  if(c>N/2) cout << "Yes" << endl;
  else cout << "No" << endl;
}
