//minamoto
#include<iostream>
#include<cstdio>
using namespace std;
int n,r,b;char s[100005];
int main(){
	scanf("%d%s",&n,s+1);
	for(int i=1;s[i];++i)s[i]=='R'?++r:++b;
	puts(r>b?"Yes":"No");
	return 0;
}