function myOut(text){console.log(text);}//standard output
function Main(input) {
	input = input.trim();
	//input = input.trim().split(" ");
	input = input.trim().split("\n");
	//input = input.trim().split(" ").map((a)=>Number(a));
	//input = input.trim().split("\n").map((a)=>Number(a));
  var len = parseInt(input[0]);
  var red = 0;
  var list = input[1].split("");
  for(var i = 0; i < list.length; i++){
    if(list[i] == "R"){
       red++;
       }
  }
  var blue = len - red;
  if(red > blue){
     console.log("Yes");
     }else{
     console.log("No");
     }
}

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