#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, count = 0, c = 0;
  cin >> n;
  string s;
  cin >> s;
  for (int i = 0; i < n; i++) {
    if (s[i] == 'R') {
      count++;
    } else {
      c++;
    }
    if (count > c) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
}
