#include <bits/stdc++.h>
int main() {
  int n;
  std::string s;
  int red = 0, blue = 0;
  for (const auto i : s) {
    if (i == 'R') {
      red++;
    } else {
      blue++;
    }
  }
  if (blue < red) {
    std::cout << "Yes" << std::endl;
  } else {
    std::cout << "No" << std::endl;
  }
  return 0;
}
