function readline_STDIN()
    return Base.readline(Base.STDIN)
end

function exawizards2019_B()

    # STEP.01
    # read out the number of people
    num_people = Base.parse(Base.Int64, readline_STDIN())

    # STEP.02
    # read out the string which represents the colors of the people
    colors_people = readline_STDIN()

    # STEP.03
    # count up the number of hats
    num_hats_red  = Base.zero(num_people)
    num_hats_blue = num_hats_red

    for itr in Base.range(1, 1, num_people)
        if colors_people[itr] == "R"
            num_hats_red += 1
        else
            num_hats_blue += 1
        end
    end

    # STEP.04
    # output the result
    if num_hats_red > num_hats_blue
        Base.println(Base.STDOUT, "Yes")
    else
        Base.println(Base.STDOUT, "No")
    end

    # STEP.TRUE_END
    return Base.nothing

end

Main.exawizards2019_B()