import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
			String input = s.nextLine();
			if (input.charAt(0) == input.charAt(1) && input.charAt(0) == input.charAt(2)) {
				System.out.println("No");
			} else {
				System.out.println("Yes");
			}


		s.close();

	}

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

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
			String input = s.nextLine();
			if (input.charAt(0) == input.charAt(1) && input.charAt(0) == input.charAt(2)) {
				System.out.println("No");
			} else {
				System.out.println("Yes");
			}


		s.close();

	}

} Main public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
			String input = s.nextLine();
			if (input.charAt(0) == input.charAt(1) && input.charAt(0) == input.charAt(2)) {
				System.out.println("No");
			} else {
				System.out.println("Yes");
			}


		s.close();

	} main {
		Scanner s = new Scanner(System.in);
			String input = s.nextLine();
			if (input.charAt(0) == input.charAt(1) && input.charAt(0) == input.charAt(2)) {
				System.out.println("No");
			} else {
				System.out.println("Yes");
			}


		s.close();

	} Scanner s = new Scanner(System.in); s new Scanner(System.in) String input = s.nextLine(); input s.nextLine() s.nextLine s if (input.charAt(0) == input.charAt(1) && input.charAt(0) == input.charAt(2)) {
				System.out.println("No");
			} else {
				System.out.println("Yes");
			} input.charAt(0) == input.charAt(1) && input.charAt(0) == input.charAt(2) input.charAt(0) == input.charAt(1) input.charAt(0) input.charAt input 0 input.charAt(1) input.charAt input 1 input.charAt(0) == input.charAt(2) input.charAt(0) input.charAt input 0 input.charAt(2) input.charAt input 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" s.close() s.close s String[] args args public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
			String input = s.nextLine();
			if (input.charAt(0) == input.charAt(1) && input.charAt(0) == input.charAt(2)) {
				System.out.println("No");
			} else {
				System.out.println("Yes");
			}


		s.close();

	}

} public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
			String input = s.nextLine();
			if (input.charAt(0) == input.charAt(1) && input.charAt(0) == input.charAt(2)) {
				System.out.println("No");
			} else {
				System.out.println("Yes");
			}


		s.close();

	}

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

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
			String input = s.nextLine();
			if (input.charAt(0) == input.charAt(1) && input.charAt(0) == input.charAt(2)) {
				System.out.println("No");
			} else {
				System.out.println("Yes");
			}


		s.close();

	}

}
