#include <bits/stdc++.h>
using namespace std;
int main()
{
	int N;
	string S;
	cin>>N>>S;
	static int R,B;
	for(int i=0;i<N;i++){
		if(S[i]=='R') R++;
		else		B++;
	}
	if(R>B) cout<<"Yes"<<endl;
	else	cout<<"No"<<endl;
}