#include <bits/stdc++.h>
using namespace std;
const int N = 105;
char ss[N];
int main() {
  int n;
  scanf("%d", &n);
  scanf("%s", ss + 1);
  int cnt = 0, h;
  for (int u = 1; u <= n; u++)
    if (ss[u] == 'R') cnt++;
  h = n - cnt + 1;
  if (cnt > h)
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
