#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 count = 0;
	bool isRed = false;
	for (int i = 0; i < N; i++) {
		if (s[i] == 'R') {
			count += 1;
			if(count > int(N/2)){ cout << "Yes" << endl; }
			

		}
		
	}
	cout << "No" << endl; 







	return 0;
}
