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

int main()
{
  int n, count = 0;
  cin >> n;
  
  char s[n];
  
  for(int i = 0; i < n; i++)
  {
    cin << s[i];
    if(s[i] == 'R')
      count++;
  }
  
  if(count > n - count)
  {
    cout << "Yes";
    return 0;
  }
  
  cout << "No";
  return 0;
}