#include<bits/stdc++.h>
using namespace std;
int n,a,b;
char s;

int main(){
	cin>>n;
	for(int i=1;i<=n;i++){
		cin>>s;
		if(s=='R') a++;
		else b++;
	}
	if(a>b) printf("Yes\n");
	else printf("No\n");
	
	return 0;
}