#include <cstdio>
int main() {
	char s[105];
  int n;
  scanf("%d", &n);
  scanf("%s", s + 1);
  int cnt = 0;
  for (int i = 1; i <= n; ++i) if (s[i] == 'R') ++cnt;
  if (cnt > n - cnt) puts("Yes");
  else puts("No");
}