"use strict";
function Main(input) {
  const stations = input.split("");
  if (stations[0] == stations[1] && stations[0] == stations[2]) return console.log("No");
  console.log("Yes");
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"))