import scala.io.StdIn

object Main extends App {
  val num = StdIn.readInt()
  val value = StdIn.readLine().map(_.toString)
  val ret =
    if (value.filter(_ == "R").length > num / 2)
      "Yes"
    else
      "No"
  println(ret)
}
