
#include <bits/stdc++.h>
using namespace std;

int R;
int B;
char S[ 110 ];

int main()
{
int i;
char C;

	ios::sync_with_stdio( false );
	cin.tie( 0 );

	cin >> N;
	cin >> S;

	i = 0;
	while( ( C = S[ i ] ) != '\0' )
	{
		i++;
		if( C == 'R' )
			R++;
		else
			B++;
	}

	if( R > B )
		cout << "Yes" << endl;
	else
		cout << "No" << endl;

	return 0;
}
