function Main(input) {
	var r = 0;
	var b = 0;
	input = input.split("\n");
	var arr = input[1].split("");
	for(var i=0;i<arr.length;i++){
		if(arr[i]=="R") r++;
		else b++;
	}
	console.log(r>b?"Yes":"No")
}Main(require("fs").readFileSync("/dev/stdin", "utf8").trim());