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

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