#include<cstdio>
#include<cstring>
int main(){
	char s[105];
	int r=0,b=0;
	int n;
	scanf("%d",&n);
	scanf("%s",s);
	for(int i=0;i<n;i++){
		if(s[i]=='R')r++;
		if(s[i]=='B')b++;
	}
	if(r>b)printf("Yes\n");
	else
	printf("No\n");
	return 0;
} 