#include<bits/stdc++.h>
#define rep(i,a,b) for(int i=a;i<=b;i++)
using namespace std;
int n;string s;
int main(){
	cin>>n>>s;
	int cnt=0;
	rep(i,0,n-1)if(s[i]=='R')cnt++;
	if(cnt*2>n)cout<<"Yes\n";else cout<<"No\n";
	return 0;
}
