"use strict";
function I(s,f){this._s=s.split("\n");this._c=0;this._l=0;this._f=f||Number}I.prototype.a=function(){var l=this._s[this._l];if(!l)return;var t=l.trim().split(" ");var a=t[this._c];this._c++;if(t.length===this._c){this._c=0;this._l++}return this._f(a)};I.prototype.l=function(){var l=this._s[this._l];if(!l)return;this._c=0;this._l++;return l.split(" ").map(this._f)};

function main(input) {
  const o = new I(input, String);

  const N = Number(o.a());
  const s = o.a();

  let countR = 0;
  let countB = 0;
  for ( let i = 0; i < s.length; i++) {
    if (s[i] === "R") {
      countR += 1;
    } else {
      countB += 1;
    }
  }

  console.log(countR > countB ? "Yes":"No");
}


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