#include<bits/stdc++.h>
using namespace std;

int main(){
	int n, r = 0;
	string s;
	cin >> n;
	cin >> s;
	for(auto i : s){
		if(i == 'R') r++;
	}
	if(2*r > n) cout << "Yes";
	else cout << "No";
	cout << endl;
	return 0;
}