import java.util.Scanner;

class Main{

    public static void main(String[] args){

        Scanner scanner = new Scanner(System.in);
        String input = scanner.next();
        scanner.close();
        char[] chr = {input.charAt(0), input.charAt(1), input.charAt(2)};
        if(chr[0]!=chr[1] || chr[0]!=chr[2] || chr[1]!=chr[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }

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

    public static void main(String[] args){

        Scanner scanner = new Scanner(System.in);
        String input = scanner.next();
        scanner.close();
        char[] chr = {input.charAt(0), input.charAt(1), input.charAt(2)};
        if(chr[0]!=chr[1] || chr[0]!=chr[2] || chr[1]!=chr[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }

    }
} Main public static void main(String[] args){

        Scanner scanner = new Scanner(System.in);
        String input = scanner.next();
        scanner.close();
        char[] chr = {input.charAt(0), input.charAt(1), input.charAt(2)};
        if(chr[0]!=chr[1] || chr[0]!=chr[2] || chr[1]!=chr[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }

    } main {

        Scanner scanner = new Scanner(System.in);
        String input = scanner.next();
        scanner.close();
        char[] chr = {input.charAt(0), input.charAt(1), input.charAt(2)};
        if(chr[0]!=chr[1] || chr[0]!=chr[2] || chr[1]!=chr[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }

    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String input = scanner.next(); input scanner.next() scanner.next scanner scanner.close() scanner.close scanner char[] chr = {input.charAt(0), input.charAt(1), input.charAt(2)}; chr {input.charAt(0), input.charAt(1), input.charAt(2)} input.charAt(0) input.charAt input 0 input.charAt(1) input.charAt input 1 input.charAt(2) input.charAt input 2 if(chr[0]!=chr[1] || chr[0]!=chr[2] || chr[1]!=chr[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        } chr[0]!=chr[1] || chr[0]!=chr[2] || chr[1]!=chr[2] chr[0]!=chr[1] || chr[0]!=chr[2] || chr[1]!=chr[2] chr[0]!=chr[1] chr[0] chr 0 chr[1] chr 1 chr[0]!=chr[2] chr[0] chr 0 chr[2] chr 2 chr[1]!=chr[2] chr[1] chr 1 chr[2] chr 2 {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" String[] args args
import java.util.Scanner;

class Main{

    public static void main(String[] args){

        Scanner scanner = new Scanner(System.in);
        String input = scanner.next();
        scanner.close();
        char[] chr = {input.charAt(0), input.charAt(1), input.charAt(2)};
        if(chr[0]!=chr[1] || chr[0]!=chr[2] || chr[1]!=chr[2]){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }

    }
}