#include <bits/stdc++.h>

int main() {

    int N; std::cin >> N;
    std::string s; std::cin >> s;
    int r = std::count(s.begin(), s.end(), 'R');
    std::cout << ((r + r > s.length()) ? "Yes" : "No") << std::endl;
}