
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String args[]) throws IOException {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String S[] = br.readLine().split("");
	if (S[0].equals(S[1]) && (S[1].equals(S[2]))) {
	    System.out.println("No");
	} else {
	    System.out.println("Yes");
	}
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String args[]) throws IOException {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String S[] = br.readLine().split("");
	if (S[0].equals(S[1]) && (S[1].equals(S[2]))) {
	    System.out.println("No");
	} else {
	    System.out.println("Yes");
	}
    }
} Main public static void main(String args[]) throws IOException {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String S[] = br.readLine().split("");
	if (S[0].equals(S[1]) && (S[1].equals(S[2]))) {
	    System.out.println("No");
	} else {
	    System.out.println("Yes");
	}
    } main {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String S[] = br.readLine().split("");
	if (S[0].equals(S[1]) && (S[1].equals(S[2]))) {
	    System.out.println("No");
	} else {
	    System.out.println("Yes");
	}
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String S[] = br.readLine().split(""); S br.readLine().split("") br.readLine().split br.readLine() br.readLine br "" if (S[0].equals(S[1]) && (S[1].equals(S[2]))) {
	    System.out.println("No");
	} else {
	    System.out.println("Yes");
	} S[0].equals(S[1]) && (S[1].equals(S[2])) S[0].equals(S[1]) S[0].equals S[0] S 0 S[1] S 1 (S[1].equals(S[2])) S[1].equals S[1] S 1 S[2] S 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[]) throws IOException {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String S[] = br.readLine().split("");
	if (S[0].equals(S[1]) && (S[1].equals(S[2]))) {
	    System.out.println("No");
	} else {
	    System.out.println("Yes");
	}
    }
} public class Main {
    public static void main(String args[]) throws IOException {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String S[] = br.readLine().split("");
	if (S[0].equals(S[1]) && (S[1].equals(S[2]))) {
	    System.out.println("No");
	} else {
	    System.out.println("Yes");
	}
    }
} Main

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String args[]) throws IOException {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String S[] = br.readLine().split("");
	if (S[0].equals(S[1]) && (S[1].equals(S[2]))) {
	    System.out.println("No");
	} else {
	    System.out.println("Yes");
	}
    }
}