#include <bits/stdc++.h>
#define ll long long
#define ff first
#define ss second
#define PB push_back
#define MP make_pair
#define pri 1000000007
using namespace std;
void run(){
	ll n;
	cin>>n;
	string a;
	cin>>a;
	ll r=0,b=0;
	for(ll i=0;i<n;i++){
		if(a[i]=='R')r++
		else b++;
	}
	if(r>b)cout<<"Yes";
	else cout<<"No";
}
int main() {
	ll t=1;
	//cin>>t;
	for(ll i=0;i<t;i++)run();
	// your code goes here
	return 0;
}