#include <iostream>
#include <cmath>

using namespace std;

int main () {
	int n;
	cin>>n;
	string s;
	cin>>s;
	int r=0;
	int b=0;
	for(int i=0;i<s.length();i++){
		if(s[i]=='R') r++;
		else b++;
	}
	if(r>b) cout<<"Yes";
	else cout<<"No";



return 0;
}