#include <iostream>
#include <string>
#include <vector>
#include <stack>
#include <map>
#include <set>
#include <algorithm>
#include <numeric>
#include <math.h>
#include <stdio.h>
#include <ctype.h>
#include <ios> 
#include <iomanip>
using namespace std;

#define N_MAX   (100000)
#define LL_MAX_NUM (1LL<<60)
#define INF 1e7

typedef long long ll;
typedef long long int lli;

int main() {
    int N, Rnum, Bnum;
    string s;
	cin >> N >> s;
    Rnum = 0;
    for (int i = 0; i < N; i++) {
        res = s.find('R');
        if (res != string::npos) {
            Rnum++;
        }
    }
    Bnum = N - Rnum;
    if (Rnum > Bnum) {
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
	return 0;
}
