using System;
class Program
{
    static void Main(string[] args)
    {
        int Num = ReadInt();
        string RedBlue = Read();
        int counter = 0;

        for(int ii = 0; ii < RedBlue.Length; ii++)
        {
            if (RedBlue[ii] == "R")
            {
                counter = counter + 1;
            }
        }
        if(counter > RedBlue.Length / 2)
        {
            Console.WriteLine("Yes");
        }
        else
        {
            Console.WriteLine("No");
        }
    }


    //読み取り用
    static String Read()
    {
        return Console.ReadLine();
    }

    static int ReadInt()
    {
        return int.Parse(Console.ReadLine());
    }

    static char[] ReadChar()
    {
        return Console.ReadLine().ToCharArray();
    }

    static string[] ReadStringSplit()
    {
        return Console.ReadLine().Split(' ');
    }
}