import java.util.Scanner;

/**
 * Created 2017/05/25.
 * nextLineの挙動とか
 */
public class Main {
   public static void main(String[] args) {
      //String word = "AAA";
      Scanner sc = new Scanner(System.in);
      String line = sc.nextLine();

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

   }
} import java.util.Scanner; Scanner java.util public class Main {
   public static void main(String[] args) {
      //String word = "AAA";
      Scanner sc = new Scanner(System.in);
      String line = sc.nextLine();

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

   }
} Main public static void main(String[] args) {
      //String word = "AAA";
      Scanner sc = new Scanner(System.in);
      String line = sc.nextLine();

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

   } main {
      //String word = "AAA";
      Scanner sc = new Scanner(System.in);
      String line = sc.nextLine();

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

   } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc if(line.charAt(0) == line.charAt(1) && line.charAt(1) == line.charAt(2)){
        System.out.println("No");
     }else{
        System.out.println("Yes");
     } line.charAt(0) == line.charAt(1) && line.charAt(1) == line.charAt(2) line.charAt(0) == line.charAt(1) line.charAt(0) line.charAt line 0 line.charAt(1) line.charAt line 1 line.charAt(1) == line.charAt(2) line.charAt(1) line.charAt line 1 line.charAt(2) line.charAt line 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) {
      //String word = "AAA";
      Scanner sc = new Scanner(System.in);
      String line = sc.nextLine();

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

   }
} public class Main {
   public static void main(String[] args) {
      //String word = "AAA";
      Scanner sc = new Scanner(System.in);
      String line = sc.nextLine();

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

   }
} Main
import java.util.Scanner;

/**
 * Created 2017/05/25.
 * nextLineの挙動とか
 */
public class Main {
   public static void main(String[] args) {
      //String word = "AAA";
      Scanner sc = new Scanner(System.in);
      String line = sc.nextLine();

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

   }
}
