#include<iostream.h>
using namespace std;
typedef long long ll;
int main(){
ll n,count=0;
cin>>n;
string s;
cin>>s;
for(int i=0;i<n;i++){
if(s[i]=='R'){
count++;
}
if(count>n/2){
cout<<"Yes"<<endl;
}
else{
cout<<"No"<<endl;
}
}
}