#include <bits/stdc++.h>

int main()
{
	int n;
	scanf("%d", &n);
	int count{};
	for (int i{}; i < n; i++)
	{
		char s;
		scanf(" %c", &s);
		if (s == 'R') count++;
	}
	if (count > n - count) puts("Yes");
	else puts("No");

	return 0;
}