#include <iostream>
#include <string>
#include <algorithm>

using namespace std;

int main() {
  int n;
  cin >> n;
  
  string s;
  cin >> s;
  
  cout << (2 * count(s.begin(), s.end(), 'R') > n ? "Yes" : "No") << endl;
}