function Main(input) {

  var input = input.split("\n");
  var n = input[0];
  var arys = input[1].split("");

  var r = 0;
  var b = 0;

  arys.forEach(function(e) {
    if(e == "R") {
      r++;
    } else {
      b++;
    }
  });
  if(r > b) {
    console.log("Yes");
  } else {
    console.log("No");
  }

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