using System;
using System.Linq;
using System.Collections.Generic;

class Program
{
    static void Main(string[] args)
    {
        var input = Console.ReadLine();
        var N = int.Parse(input);
        var S = Console.ReadLine().ToCharArray();
        
        var red = 0;
        var blue = 0;
        for (var i = 0; i < N; i++) {
            if (S[i] == 'R') {
                red++
            } else {
                blue++;  
            }
        }
        
        if (red > blue) {
            Console.WriteLine("Yes");
        } else {
            Console.WriteLine("No");
        }        
    }
}
