import std.stdio, std.string, std.conv, std.algorithm, std.numeric, std.array, std.range;

void main() {
  long n;
  readf("%d\n", &n);
  auto s = readln.strip;

  if (s.count('R') > s.count('B')) {
    writeln("Yes");
  } else {
    writeln("No");
  }
}
