#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  string S;
  cin >> N;
  cin >> S;
  int cnt;
  for (int i = 0; i < N; i++) {
    if (S[i] == 'R') cnt++;
  }
  if (cnt > N / 2)
    cout << "Yes" << '\n';
  else
    cout << "No" << '\n';
}
