#include<cstdio>
int main(){
    int n;
    char s[101];
    scanf("%d%s",&n,s);
    int r=0,b=0;
    for(int i=0;i<n;i++){
        if(s[i]=='R')r++;
        else b++;
    }
    if(r>b)printf("Yes\n");
    else printf("No\n");
    return 0;
}