function Main (input) {
    if (input[0] == input[1] && input[0] == input[2]) {
        console.log("No");
    } else {
        console.log("Yes");
    }
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));