/*package whatever //do not write package name here */

import java.io.*;
import java.util.*;
class Main {
	public static void main (String[] args) {
		Scanner input = new Scanner(System.in);
		String s = input.next().toUpperCase();
		HashSet<Character> set = new HashSet<>();
		for(int i=0;i<s.length();i++)
		    set.add(s.charAt(i));
		    
		if(set.size()!=1)
		    System.out.println("Yes");
		else
		    System.out.println("No");
	}
} import java.io.*; io.* java import java.util.*; util.* java class Main {
	public static void main (String[] args) {
		Scanner input = new Scanner(System.in);
		String s = input.next().toUpperCase();
		HashSet<Character> set = new HashSet<>();
		for(int i=0;i<s.length();i++)
		    set.add(s.charAt(i));
		    
		if(set.size()!=1)
		    System.out.println("Yes");
		else
		    System.out.println("No");
	}
} Main public static void main (String[] args) {
		Scanner input = new Scanner(System.in);
		String s = input.next().toUpperCase();
		HashSet<Character> set = new HashSet<>();
		for(int i=0;i<s.length();i++)
		    set.add(s.charAt(i));
		    
		if(set.size()!=1)
		    System.out.println("Yes");
		else
		    System.out.println("No");
	} main {
		Scanner input = new Scanner(System.in);
		String s = input.next().toUpperCase();
		HashSet<Character> set = new HashSet<>();
		for(int i=0;i<s.length();i++)
		    set.add(s.charAt(i));
		    
		if(set.size()!=1)
		    System.out.println("Yes");
		else
		    System.out.println("No");
	} Scanner input = new Scanner(System.in); input new Scanner(System.in) String s = input.next().toUpperCase(); s input.next().toUpperCase() input.next().toUpperCase input.next() input.next input HashSet<Character> set = new HashSet<>(); set new HashSet<>() for(int i=0;i<s.length();i++)
		    set.add(s.charAt(i)); int i=0; int i=0; i 0 i<s.length() i s.length() s.length s i++ i++ i set.add(s.charAt(i)); set.add(s.charAt(i)) set.add set s.charAt(i) s.charAt s i if(set.size()!=1)
		    System.out.println("Yes");
		else
		    System.out.println("No"); set.size()!=1 set.size() set.size set 1 System.out.println("Yes") System.out.println System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" String[] args args
/*package whatever //do not write package name here */

import java.io.*;
import java.util.*;
class Main {
	public static void main (String[] args) {
		Scanner input = new Scanner(System.in);
		String s = input.next().toUpperCase();
		HashSet<Character> set = new HashSet<>();
		for(int i=0;i<s.length();i++)
		    set.add(s.charAt(i));
		    
		if(set.size()!=1)
		    System.out.println("Yes");
		else
		    System.out.println("No");
	}
}