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

int n, a[200];
int main()
{
	cin >> n;
	for (int i = 1; i <= n; i++) {
		char c;
		cin >> c;
		a[c]++;
	}
	if (a['R'] > a['B'])cout << "Yes" << endl;
	else cout << "No" << endl;
	return 0;
}