#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  char s[110];
  for (int i = 0; i < N; i++) cin >> s[i];
  int r = 0, b = 0;
  for (int i = 0; i < N; i++) {
    if (s[i] == 'R')
      r++;
    else
      b++;
    if (r > b)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
