import java.util.Scanner;
public class Main {
    public static void main (String...args) {
        Scanner sc = new Scanner(System.in); String S = sc.next(); char[] ch = S.toCharArray();
        System.out.println(ch[0] != ch[1] || ch[1] != ch[2] ? "Yes" : "No");}
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main (String...args) {
        Scanner sc = new Scanner(System.in); String S = sc.next(); char[] ch = S.toCharArray();
        System.out.println(ch[0] != ch[1] || ch[1] != ch[2] ? "Yes" : "No");}
} Main public static void main (String...args) {
        Scanner sc = new Scanner(System.in); String S = sc.next(); char[] ch = S.toCharArray();
        System.out.println(ch[0] != ch[1] || ch[1] != ch[2] ? "Yes" : "No");} main {
        Scanner sc = new Scanner(System.in); String S = sc.next(); char[] ch = S.toCharArray();
        System.out.println(ch[0] != ch[1] || ch[1] != ch[2] ? "Yes" : "No");} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String S = sc.next(); S sc.next() sc.next sc char[] ch = S.toCharArray(); ch S.toCharArray() S.toCharArray S System.out.println(ch[0] != ch[1] || ch[1] != ch[2] ? "Yes" : "No") System.out.println System.out System System.out ch[0] != ch[1] || ch[1] != ch[2] ? "Yes" : "No" ch[0] != ch[1] || ch[1] != ch[2] ch[0] != ch[1] ch[0] ch 0 ch[1] ch 1 ch[1] != ch[2] ch[1] ch 1 ch[2] ch 2 "Yes" "No" String...args args public class Main {
    public static void main (String...args) {
        Scanner sc = new Scanner(System.in); String S = sc.next(); char[] ch = S.toCharArray();
        System.out.println(ch[0] != ch[1] || ch[1] != ch[2] ? "Yes" : "No");}
} public class Main {
    public static void main (String...args) {
        Scanner sc = new Scanner(System.in); String S = sc.next(); char[] ch = S.toCharArray();
        System.out.println(ch[0] != ch[1] || ch[1] != ch[2] ? "Yes" : "No");}
} Main
import java.util.Scanner;
public class Main {
    public static void main (String...args) {
        Scanner sc = new Scanner(System.in); String S = sc.next(); char[] ch = S.toCharArray();
        System.out.println(ch[0] != ch[1] || ch[1] != ch[2] ? "Yes" : "No");}
}