#include<stdio.h>

int main(){
  int n,i,count_r=0,count_b=0;
  scanf("%d",&n);
  char s[n];
  scanf("%s",s);
  for(i=0;i<n;i++){
    if(s[i]=="R"){
      count_r++;
    }
    else{
      count_b++;
    }
}
if(count_r>count_b) {
  printf("Yes\n");
}
else{
  printf("No\n");
}
return 0;
}