object ProblemC {
  def main(args: Array[String]): Unit = {
    val sc = new java.util.Scanner(System.in)
    val n = sc.nextInt
    val str : String = sc.next
    val reds = str.toList.count(_ == 'R')
    if(reds > n-reds){
      println("Yes")
    }
    else{
      println("No")
    }
  }
}