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.
s = input()
print('Yes' if s.count('R') > s.count('B') else 'No')
n = int(input())
s = input()
print('Yes' if s.count('R') > s.count('B') else 'No')