def ex2019b():
    N = int(raw_input())
    S = raw_input()
    s = list(S)

    r = 0
    b = 0

    for i in range(N):
        if s[i] == "R":
            r = r + 1
        elif s[i] == "B":
            b = b + 1
    
    if r > b:
        print "Yes"
    else:
        print "No"

def main():
    ex2019b()
	
if __name__ == '__main__':
    main()