

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scanner  =new Scanner(System.in);
		String ans  ="No";

		int a  =scanner.nextInt();
		int b  =scanner.nextInt();
		int c  =scanner.nextInt();

		if(a==b || a==c || b==c) {
			ans = "Yes";
		}
		if(a==b && b==c) {
			ans = "No";
		}

		System.out.println(ans);

		scanner.close();

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner scanner  =new Scanner(System.in);
		String ans  ="No";

		int a  =scanner.nextInt();
		int b  =scanner.nextInt();
		int c  =scanner.nextInt();

		if(a==b || a==c || b==c) {
			ans = "Yes";
		}
		if(a==b && b==c) {
			ans = "No";
		}

		System.out.println(ans);

		scanner.close();

	}

} Main public static void main(String[] args) {

		Scanner scanner  =new Scanner(System.in);
		String ans  ="No";

		int a  =scanner.nextInt();
		int b  =scanner.nextInt();
		int c  =scanner.nextInt();

		if(a==b || a==c || b==c) {
			ans = "Yes";
		}
		if(a==b && b==c) {
			ans = "No";
		}

		System.out.println(ans);

		scanner.close();

	} main {

		Scanner scanner  =new Scanner(System.in);
		String ans  ="No";

		int a  =scanner.nextInt();
		int b  =scanner.nextInt();
		int c  =scanner.nextInt();

		if(a==b || a==c || b==c) {
			ans = "Yes";
		}
		if(a==b && b==c) {
			ans = "No";
		}

		System.out.println(ans);

		scanner.close();

	} Scanner scanner  =new Scanner(System.in); scanner new Scanner(System.in) String ans  ="No"; ans "No" int a  =scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b  =scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c  =scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner if(a==b || a==c || b==c) {
			ans = "Yes";
		} a==b || a==c || b==c a==b || a==c || b==c a==b a b a==c a c b==c b c {
			ans = "Yes";
		} ans = "Yes" ans "Yes" if(a==b && b==c) {
			ans = "No";
		} a==b && b==c a==b a b b==c b c {
			ans = "No";
		} ans = "No" ans "No" System.out.println(ans) System.out.println System.out System System.out ans scanner.close() scanner.close scanner String[] args args public class Main {

	public static void main(String[] args) {

		Scanner scanner  =new Scanner(System.in);
		String ans  ="No";

		int a  =scanner.nextInt();
		int b  =scanner.nextInt();
		int c  =scanner.nextInt();

		if(a==b || a==c || b==c) {
			ans = "Yes";
		}
		if(a==b && b==c) {
			ans = "No";
		}

		System.out.println(ans);

		scanner.close();

	}

} public class Main {

	public static void main(String[] args) {

		Scanner scanner  =new Scanner(System.in);
		String ans  ="No";

		int a  =scanner.nextInt();
		int b  =scanner.nextInt();
		int c  =scanner.nextInt();

		if(a==b || a==c || b==c) {
			ans = "Yes";
		}
		if(a==b && b==c) {
			ans = "No";
		}

		System.out.println(ans);

		scanner.close();

	}

} Main


import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scanner  =new Scanner(System.in);
		String ans  ="No";

		int a  =scanner.nextInt();
		int b  =scanner.nextInt();
		int c  =scanner.nextInt();

		if(a==b || a==c || b==c) {
			ans = "Yes";
		}
		if(a==b && b==c) {
			ans = "No";
		}

		System.out.println(ans);

		scanner.close();

	}

}
