#include <iostream>
#include <string>
using namespace std;

int n, r;
string s;

int main(){
    cin >> n;
    cin >> s;

    r = 0;
    for (int i = 0; i < n; i++){
        if (s[i] == 'R') r++;
    }
    cout << ((r > n - r) ? "Yes" : "No");
}