#include<iostream>
using namespace std;
int N;
int main(void){
	cin >> N;
	int ans=0;
	for(int i=0;i<N;i++){
		char h;
			cin >> h;
		if(h=='R')
			ans++;
	}
	if(ans>N/2)
		cout << "Yes"<<endl;
	else
		cout <<"No" << endl;
	return 0;
}