function Main(input){
  
  var str = input;
  var tmp = str.split("\n");
   // console.log(tmp);
  var n = tmp[0];
  var tmps = tmp[1];
  //console.log(tmps);
  var s = tmps.split("");
  var red = 0;
  var blue = 0;
  
  for(i=0;i<=n-1;i++){
   if(s[i]=="R"){
     red++;}
    else{
      blue++}//else
    
  }//for
  
 if(red-blue>0){
   console.log("Yes");}
  else {
       console.log("No");}
  


    
}//function
 
Main(require("fs").readFileSync("/dev/stdin", "utf8"));