def int_raw():
    return int(raw_input())

def ss_raw():
    return raw_input().split()

def ints_raw():
    return map(int, ss_raw())

INF = 1 << 29

N  = int_raw()
S = raw_input()



def ans():
    Nr = S.count("R")
    if Nr*2 > N:
        return "Yes"
    else:
        return "No"


print ans()
