import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        String s = scan.next();
        System.out.println(s.charAt(0) == s.charAt(1) && s.charAt(1) == s.charAt(2) ? "No" : "Yes");
    }
} import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        String s = scan.next();
        System.out.println(s.charAt(0) == s.charAt(1) && s.charAt(1) == s.charAt(2) ? "No" : "Yes");
    }
} Main public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        String s = scan.next();
        System.out.println(s.charAt(0) == s.charAt(1) && s.charAt(1) == s.charAt(2) ? "No" : "Yes");
    } main {
        Scanner scan = new Scanner(System.in);
        String s = scan.next();
        System.out.println(s.charAt(0) == s.charAt(1) && s.charAt(1) == s.charAt(2) ? "No" : "Yes");
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String s = scan.next(); s scan.next() scan.next scan System.out.println(s.charAt(0) == s.charAt(1) && s.charAt(1) == s.charAt(2) ? "No" : "Yes") System.out.println System.out System System.out s.charAt(0) == s.charAt(1) && s.charAt(1) == s.charAt(2) ? "No" : "Yes" s.charAt(0) == s.charAt(1) && s.charAt(1) == s.charAt(2) s.charAt(0) == s.charAt(1) s.charAt(0) s.charAt s 0 s.charAt(1) s.charAt s 1 s.charAt(1) == s.charAt(2) s.charAt(1) s.charAt s 1 s.charAt(2) s.charAt s 2 "No" "Yes" String[] args args public class Main{
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        String s = scan.next();
        System.out.println(s.charAt(0) == s.charAt(1) && s.charAt(1) == s.charAt(2) ? "No" : "Yes");
    }
} public class Main{
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        String s = scan.next();
        System.out.println(s.charAt(0) == s.charAt(1) && s.charAt(1) == s.charAt(2) ? "No" : "Yes");
    }
} Main
import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        String s = scan.next();
        System.out.println(s.charAt(0) == s.charAt(1) && s.charAt(1) == s.charAt(2) ? "No" : "Yes");
    }
}