#include<iostream>
#include<cstdio>
#include<algorithm>
#include<cstring>
#include<string>
#include<cmath>
using namespace std;
int main()
{
	 int n;
	 while(cin>>n){
	 	char a,red,blue;
	 	red=0;blue=0;
	 	for(int i=0;i<n;i++){
	 		cin>>a;
	 		if(a=='R'){
	 			red++:
			 }
			 if(a=='B'){
			 	blue++;
			 }
		 }
		 if(red>blue){
		 	cout<<"Yes"<<emdl;
		 }
		 else{
		 	cout<<"No"<<endl;
		 }
	 } 
	return 0;
}
