#include "bits/stdc++.h"
using namespace std;
#define fst first
#define scd second
int main()
{
	int n, r = 0;
	char s[101];
	scanf("%d%s", &n, s);
	for(int i = 0; i < n; ++i)
	{
		r += s[i] == 'R';
	}
	printf(r > n - r ? "Yes\n" : "No\n");
}