#include<iostream>
using namespace std;

int main()
{
  int a, b[100];
  int count1=0, count2=0;
  cin >> a;
  for(int i=0; i<a; i++){
    cin >> b[i];
  }
  for(int j=0; j<a; j++){
    if(b[j] == "R")
      count1++;
    else if(b[j] == "L")
      count2++;
  }
  if(count1 > count2)
    cout << "Yes";
  else
    cout << "No";
  return 0;
}
    
