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].Equals("R"))
            {
                Counter = Counter + 1;
            }
        }
        if(Counter > RedBlue.Length / 2.0)
        {
            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(' ');
    }
}