num = int(input())
seq = input()
num_R = seq.count('R')
if num_R > num // 2:
    print('Yes')
else:
    print('No')

305c822e5269302d59178ba5e8028cf35cc64a11
<mask token>

<mask token>
if num_R > num // 2:
    print('Yes')
else:
    print('No')

num = int(input())
seq = input()
num_R = seq.count('R')
if num_R > num // 2:
    print('Yes')
else:
    print('No')
