import java.util.Scanner;

/**
 * Station and Bus
 * 
 * https://atcoder.jp/contests/abc158/tasks/abc158_a
 */
public class Main {

    static Scanner sc = new Scanner(System.in);

    public static void main(String[] args) throws Exception {
        String S = sc.next();

        if (S.charAt(0) == S.charAt(1) && S.charAt(0) == S.charAt(2)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

    }

} import java.util.Scanner; Scanner java.util public class Main {

    static Scanner sc = new Scanner(System.in);

    public static void main(String[] args) throws Exception {
        String S = sc.next();

        if (S.charAt(0) == S.charAt(1) && S.charAt(0) == S.charAt(2)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

    }

} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) throws Exception {
        String S = sc.next();

        if (S.charAt(0) == S.charAt(1) && S.charAt(0) == S.charAt(2)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

    } main {
        String S = sc.next();

        if (S.charAt(0) == S.charAt(1) && S.charAt(0) == S.charAt(2)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

    } String S = sc.next(); S sc.next() sc.next sc if (S.charAt(0) == S.charAt(1) && S.charAt(0) == S.charAt(2)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        } S.charAt(0) == S.charAt(1) && S.charAt(0) == 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(0) == S.charAt(2) S.charAt(0) S.charAt S 0 S.charAt(2) S.charAt S 2 {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args public class Main {

    static Scanner sc = new Scanner(System.in);

    public static void main(String[] args) throws Exception {
        String S = sc.next();

        if (S.charAt(0) == S.charAt(1) && S.charAt(0) == S.charAt(2)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

    }

} public class Main {

    static Scanner sc = new Scanner(System.in);

    public static void main(String[] args) throws Exception {
        String S = sc.next();

        if (S.charAt(0) == S.charAt(1) && S.charAt(0) == S.charAt(2)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

    }

} Main
import java.util.Scanner;

/**
 * Station and Bus
 * 
 * https://atcoder.jp/contests/abc158/tasks/abc158_a
 */
public class Main {

    static Scanner sc = new Scanner(System.in);

    public static void main(String[] args) throws Exception {
        String S = sc.next();

        if (S.charAt(0) == S.charAt(1) && S.charAt(0) == S.charAt(2)) {
            System.out.println("No");
        } else {
            System.out.println("Yes");
        }

    }

}
