#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(0);cout.tie(0);
    ll i,a=0,b=0;
    string str;
    cin>>str;
    for(i=0;i<srt.length();i++){
        if(str[i]=='R')
            a+=1;
        else
            b+=1;
    }
    if(a>b)
        cout<<"Yes"<<endl;
    else
        cout<<"No"<<endl;
	return 0;
}
