function Main(input) {
  var lines = input.split('\n');
  var N = parseInt(lines[0], 10);
  var s = lines[1];
  var chars = s.split('');
  var R = chars.reduce(function(prev, cur){ return prev + (cur === 'R' ? 1 : 0); }, 0);
  var B = chars.reduce(function(prev, cur){ return prev + (cur === 'B' ? 1 : 0); }, 0);
  
	console.log(R > B ? 'Yes' : 'No');
}

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