function Main(input) {
	tmp = input.split("\n");
	
	var a = parseInt(tmp[0]);
	var red = 0;
	var blue = 0;
	
	for (var i = 0; i < a; i++){
		if(tmp[1].charAt(i)=="R"){
			red++;
		}
		if(tmp[1].charAt(i)=="B"){
			blue++;
		}
	}
	
	if(red>blue){
		console.log("Yes");
	}else{
		console.log("No");
	}
}

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