#include<iostream>
using namespace std;

int main() 
{
	int N;
	string s;
	cin >> N >> s ;

	int r = 0;
	for (int i = 0; i < N; i++)
	{
		if (s[i] == 'R') {
			r++;
		}
		
	}
	if (r > N / 2) {
		cout << "Yes";

	}
	else {
		cout << "No";
	}
	return 0;
}