
#include <iostream>
#include <string.h>
#include <string>


using namespace std;
int main() {
	int N;
	std::string s;

	int N;
	cin >> N ;
	string s;
	cin >> s;
	int countA = 0;
	int countB = 0;
	bool isRed = false;
	for (int i = 0; i < N; i++) {
		if (s[i] == 'R') {
			countA += 1;
			//if(count > int(N/2)){ cout << "Yes" << endl; }
			

		}
		else {
			countB += 1;
		}
		
	}
	if(countA> countB) { cout << "Yes" << endl; }
	else { cout << "No" << endl; }







	return 0;
}