#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <math.h>
using namespace std;
typedef long long ll;

int main(void){
    int n;
    char s[105];
    cin >> n;
    cin >> s;
    
    int ans = 0;
    for (int i = 0; i < n; i++) {
        if (s[i] == "R") ans++;
    }
    
    if (n % 2 == 0) {
        if (ans > n / 2) cout << "Yes" << endl;
        else cout << "No" << endl;
    }
    else {
        if (ans > n / 2) cout << "Yes" << endl;
        else cout << "No" << endl;
    }
    
}
