output_description: If there are more people wearing a red hat than there are people wearing a
  blue hat, print `Yes`; otherwise, print `No`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N
      s
attempt: # Author: cr4zjh0bp
  # Created: Sun Mar  8 04:59:35 UTC 2020
  import sys
  
  stdin = sys.stdin
  inf = 1 << 60
  mod = 1000000007
  
  ni = lambda: int(ns())
  nin = lambda y: [ni() for _ in range(y)]
  na = lambda: list(map(int, stdin.readline().split()))
  nan = lambda y: [na() for _ in range(y)]
  nf = lambda: float(ns())
  nfn = lambda y: [nf() for _ in range(y)]
  nfa = lambda: list(map(float, stdin.readline().split()))
  nfan = lambda y: [nfa() for _ in range(y)]
  ns = lambda: stdin.readline().rstrip()
  nsn = lambda y: [ns() for _ in range(y)]
  ncl = lambda y: [list(ns()) for _ in range(y)]
  nas = lambda: stdin.readline().split()
  
  N = ni()
  s = ns()
  
  r, b = 0, 0
  for i in range(N):
      if s[i] == "R":
          r += 1
      else:
          b += 1
  
  if r > b:
      print("Yes")
  else:
      print("No")
  
problem_description: Statement
  
  There are N people numbered 1 to N. Each person wears a red hat or a blue hat.
  
  You are given a string s representing the colors of the people. Person i wears
  a red hat if s_i is `R`, and a blue hat if s_i is `B`.
  
  Determine if there are more people wearing a red hat than people wearing a
  blue hat.
samples: [{"input": "4\n    RRBR", "output": "Yes\n    \n\n  * There are three people wearing a red hat, and one person wearing a blue hat.\n  * Since there are more people wearing a red hat than people wearing a blue hat, the answer is `Yes`.\n\n* * *"}, {"input": "4\n    BRBR", "output": "No\n    \n\n  * There are two people wearing a red hat, and two people wearing a blue hat.\n  * Since there are as many people wearing a red hat as people wearing a blue hat, the answer is `No`."}]