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

char color[105];
int main(void){
  int N; cin>>N;
  cin>>color;
  int cnt=0;
  for(int i=0;i<N;i++){
    if(color[i]=='R') cnt++;
  }
  if(cnt*2>N) cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
  return 0;
}
