#include<iostream>
using namespace std;

int main() {
	int n,red=0,blue=0;
	cin << n;
	vector<int>rb(n);
	for (int i = 0; i < n; i++) {
		cin >> rb[i];
		if (rb[i] == 'R') {
			red++;
		}
		else {
			blue++;
		}
	}
	if (red > blue) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}
}