import java.util.*;

public class Main {
	
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		char[] bus = scan.nextLine().toCharArray();
		if(bus[0] == bus[1] && bus[1] == bus[2]) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}
} import java.util.*; util.* java public class Main {
	
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		char[] bus = scan.nextLine().toCharArray();
		if(bus[0] == bus[1] && bus[1] == bus[2]) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		char[] bus = scan.nextLine().toCharArray();
		if(bus[0] == bus[1] && bus[1] == bus[2]) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	} main {
		Scanner scan = new Scanner(System.in);
		
		char[] bus = scan.nextLine().toCharArray();
		if(bus[0] == bus[1] && bus[1] == bus[2]) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) char[] bus = scan.nextLine().toCharArray(); bus scan.nextLine().toCharArray() scan.nextLine().toCharArray scan.nextLine() scan.nextLine scan if(bus[0] == bus[1] && bus[1] == bus[2]) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		} bus[0] == bus[1] && bus[1] == bus[2] bus[0] == bus[1] bus[0] bus 0 bus[1] bus 1 bus[1] == bus[2] bus[1] bus 1 bus[2] bus 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 {
	
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		char[] bus = scan.nextLine().toCharArray();
		if(bus[0] == bus[1] && bus[1] == bus[2]) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}
} public class Main {
	
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		
		char[] bus = scan.nextLine().toCharArray();
		if(bus[0] == bus[1] && bus[1] == bus[2]) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
	}
} Main
import java.util.*;

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