#include <iostream>
#include <string>

using namespace std;

int main()
{
    int N;
    string s;
    int countr = 0;
    int countb = 0;
    for(int i = 0; i < N; i++)
    {
        if(s[i] == 'R')
        {
            countr++;
        }
        else
        {
            countb++;
        }
    }
    if(countr > countb)
    {
        cout << "Yes";
    }
    else
    {
        cout << "No";
    }
}#include <iostream>
#include <string>

using namespace std;

int main()
{
    int N;
    string s;
    int countr = 0;
    int countb = 0;
    for(int i = 0; i < N; i++)
    {
        if(s[i] == 'R')
        {
            countr++;
        }
        else
        {
            countb++;
        }
    }
    if(countr > countb)
    {
        cout << "Yes";
    }
    else
    {
        cout << "No";
    }
}
