'use strict'
function Main(input){
  input=input.trim().split(/\s+/);
  var N=input[0]-0;
  var s=input[1].split('');
  var R=0;
  while(s.length>0)
    if(s.pop()==='R')R++;
  var result=(R>N-R)?'Yes':'No';
  console.log(result);
}

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