#include <bits/stdc++.h>
#define ALL(v) v.begin(), v.end()
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;

int main() {
int n; cin>>n;
  int s; cin>>s;
  int r,b=0;
  for(int i=0;i<s.size();i++){
    if(s[i]=='R') r++;
    else b++;}
  if(r>b){cout<<"Yes"<<endl;}
  else cout<<"No"<<endl;
  
}