#include <bits/stdc++.h>
using namespace std;
int main(){
  string S;
  cin>>S;
  int r = 0;
  int b = 0;
  for(int i = 0;i<S.size();i++){
    if(s.at(i) == 'R'){
      r++;
    }
  else{
    b++;
    }
  }
  if(r>b){
    cout << "Yee" << endl;
  }
  else{
    cout << "No" << endl;
  }
  return 0;
}