function Main(input){
  let Red = 0;
  let Blue = 0;
  const input_line = input.split('\n');
//  console.log(input_line);
//  console.log(input_line[0]);
//  console.log(input_line[1]);
  inputS = input_line[1].split('');
  inputS.forEach((s) => {
    if (s === 'R'){
      Red++;
    } else {
      Blue++;
    }
  });
  console.log(Red > Blue ? "Yes" : "No");
}

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