#include <bits/stdc++.h>

using namespace std;

int main() {
	int n;
	string s;
	cin >> n;
	cin >> s;
	int a = 0;
	for (auto c : s) {
		if (c == 'R') {
			++a;
		}
	}
	if (a > n/2) {
		cout << "Yes\n";
	} else {
		cout << "No\n";
	}
	return 0;
}