"use strict";
function Main(input) {
    let lines = input.split("\n");
    let N = lines.shift().trim().split(/\s/)[0] - 0;
    let S = lines.shift().trim().split(''); 
    let r = S.reduce((ac, v) => ac + (v == 'R' ? 1 : 0), 0);
    let b = N - r;
    let ans = r > b;
    console.log(ans ? "Yes" : "No");
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
