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

int main() {
	int N, R = 0, B = 0;
	string S;
	cin >> N >> S;
	for (int i = 0; i < N; i++) {
		if (S[i] == 'R') {
			R++;
		}
		else B++;
	}
	if (R > B) cout << "Yes";
	else cout << "No";
}