import scala.collection.mutable.ArrayBuffer

object Main extends App {
  val n = readLine.toInt
  val rNum = readLine.count(_ == 'R')
  
  if (2 * rNum - n > 0) {
    println("Yes")
  } else {
    println("No")
  }
}