import java.util.Scanner;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String sa = sc.nextLine();
    char[] s = sa.toCharArray();
    Boolean f = (s[0] != s[1] || s[0] != s[2] || s[1] != s[2]);
    if(f) {
      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 sc = new Scanner(System.in);
    String sa = sc.nextLine();
    char[] s = sa.toCharArray();
    Boolean f = (s[0] != s[1] || s[0] != s[2] || s[1] != s[2]);
    if(f) {
      System.out.println("Yes");
    } else {
	  System.out.println("No");
    }
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String sa = sc.nextLine();
    char[] s = sa.toCharArray();
    Boolean f = (s[0] != s[1] || s[0] != s[2] || s[1] != s[2]);
    if(f) {
      System.out.println("Yes");
    } else {
	  System.out.println("No");
    }
  } main {
    Scanner sc = new Scanner(System.in);
    String sa = sc.nextLine();
    char[] s = sa.toCharArray();
    Boolean f = (s[0] != s[1] || s[0] != s[2] || s[1] != s[2]);
    if(f) {
      System.out.println("Yes");
    } else {
	  System.out.println("No");
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String sa = sc.nextLine(); sa sc.nextLine() sc.nextLine sc char[] s = sa.toCharArray(); s sa.toCharArray() sa.toCharArray sa Boolean f = (s[0] != s[1] || s[0] != s[2] || s[1] != s[2]); f (s[0] != s[1] || s[0] != s[2] || s[1] != s[2]) s[0] != s[1] || s[0] != s[2] || s[1] != s[2] s[0] != s[1] s[0] s 0 s[1] s 1 s[0] != s[2] s[0] s 0 s[2] s 2 s[1] != s[2] s[1] s 1 s[2] s 2 if(f) {
      System.out.println("Yes");
    } else {
	  System.out.println("No");
    } f {
      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 sc = new Scanner(System.in);
    String sa = sc.nextLine();
    char[] s = sa.toCharArray();
    Boolean f = (s[0] != s[1] || s[0] != s[2] || s[1] != s[2]);
    if(f) {
      System.out.println("Yes");
    } else {
	  System.out.println("No");
    }
  }
}