#include <bits/stdc++.h>
using namespace std;

int main(){
  int n;
  string str;
  cin >> n >> str;
  int cnt = 0;
  for(int i = 0; i < n; i++){
    if(str[i] == 'R') cnt += 1;
  }
  if(cnt > n/2) cout << "Yes" << endl;
  else cout << "No" << endl;
}