#include <bits/stdc++.h>

using namespace std;

int N;
char s[104];

int main(){
    scanf("%d %s", &N, &s);
    int cnt1 = 0, cnt2 = 0;
    for(int i=0;i<N;++i) s[i]=='R'? ++cnt1:++cnt2;
    printf("%s\n", cnt1>cnt2? "Yes":"No");
    return 0;
}
