import java.util.Scanner

fun main(args: Array<String>) {
  val scanner = Scanner(System.`in`)
  scanner.next()
  val s = scanner.next()
  var R = 0
  var B = 0
  for(c in s.toCharArray()) {
    if(c == 'R') R++ else B++
  }
  print(if(R > B) "Yes" else "No")
}
