import java.util.*;
public class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    // 整数の入力
String S =sc.next();
char a= S.charAt(0);
char b= S.charAt(1);
char c= S.charAt(2);
if(a!=b || b!=c){
  System.out.println("Yes");
}
else{
  System.out.println("No");
}

  }


} import java.util.*; util.* java public class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    // 整数の入力
String S =sc.next();
char a= S.charAt(0);
char b= S.charAt(1);
char c= S.charAt(2);
if(a!=b || b!=c){
  System.out.println("Yes");
}
else{
  System.out.println("No");
}

  }


} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    // 整数の入力
String S =sc.next();
char a= S.charAt(0);
char b= S.charAt(1);
char c= S.charAt(2);
if(a!=b || b!=c){
  System.out.println("Yes");
}
else{
  System.out.println("No");
}

  } main {
    Scanner sc = new Scanner(System.in);
    // 整数の入力
String S =sc.next();
char a= S.charAt(0);
char b= S.charAt(1);
char c= S.charAt(2);
if(a!=b || b!=c){
  System.out.println("Yes");
}
else{
  System.out.println("No");
}

  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S =sc.next(); S sc.next() sc.next sc char a= S.charAt(0); a S.charAt(0) S.charAt S 0 char b= S.charAt(1); b S.charAt(1) S.charAt S 1 char c= S.charAt(2); c S.charAt(2) S.charAt S 2 if(a!=b || b!=c){
  System.out.println("Yes");
}
else{
  System.out.println("No");
} a!=b || b!=c a!=b a b b!=c b c {
  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 public class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    // 整数の入力
String S =sc.next();
char a= S.charAt(0);
char b= S.charAt(1);
char c= S.charAt(2);
if(a!=b || b!=c){
  System.out.println("Yes");
}
else{
  System.out.println("No");
}

  }


} public class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    // 整数の入力
String S =sc.next();
char a= S.charAt(0);
char b= S.charAt(1);
char c= S.charAt(2);
if(a!=b || b!=c){
  System.out.println("Yes");
}
else{
  System.out.println("No");
}

  }


} Main
import java.util.*;
public class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    // 整数の入力
String S =sc.next();
char a= S.charAt(0);
char b= S.charAt(1);
char c= S.charAt(2);
if(a!=b || b!=c){
  System.out.println("Yes");
}
else{
  System.out.println("No");
}

  }


}
