#include <stdio.h>

int main(void){
	
	char line[105]; int n;
	scanf("%d %s", &n, line);
	
	int red = 0, blue = 0;
	for(int i=0; i<n; i++){
		if(line[i] == 'R') red++;
		else blue++;
	} 
	if(red>blue) printf("Yes");
	else printf("No");
	
	return 0;
}