#include<stdio.h>
#include<string.h>

int main(void){
  int num;
  char str[102];
  int i;
  int r = 0;

  scanf("%d", &num);
  scanf("%s", str)
  
  for(i = 0; i < num; i++){
    if(str[i] == "R"){
      r++;
    }
  }
  if(r > num / 2){
    printf("Yes\n");
  }else{
    printf("No\n");
  }
  
  return 0;
}