#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0;i<n;i++)
int main(){
  int n,x=0;
  string s;
  cin>>n>>s;
  rep(i,n) if(s[i]=='R') x++;
  if(x>n/2) cout<<"Yes";
  else cout<<"No";
}