#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long x = 0, y = 0, z = 0;
  string s;
  std::cin >> x >> s;
  for (long long i = 0; i < (long long)(x); ++i) {
    if (s[i] == 'R') y++;
  }
  std::cout << (((x + 1) / 2 < y) ? "Yes" : "No") << '\n';
}
