N=gets.chomp.to_i
s=gets.chomp.to_s

ary = s.split('')

r_count = 0
b_count = 0
ary.each do |char|
  if char == "R"
    r_count += 1
  else
    b_count += 1
  end
end

if r_count > b_count
  puts 'Yes'
else
  puts 'No'
end