import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner(System.in);
		String kn = "No";
		int i = kb.nextInt();
		int j = kb.nextInt();
		int k = kb.nextInt();
		if (i == j && j != k) {
			kn = "Yes";
		} else if (i == k && i != j) {
			kn = "Yes";
		} else if (j == k && k != i) {
			kn = "Yes";
		}

		System.out.println(kn);
		kb.close();
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner(System.in);
		String kn = "No";
		int i = kb.nextInt();
		int j = kb.nextInt();
		int k = kb.nextInt();
		if (i == j && j != k) {
			kn = "Yes";
		} else if (i == k && i != j) {
			kn = "Yes";
		} else if (j == k && k != i) {
			kn = "Yes";
		}

		System.out.println(kn);
		kb.close();
	}

} Main public static void main(String[] args) {
		Scanner kb = new Scanner(System.in);
		String kn = "No";
		int i = kb.nextInt();
		int j = kb.nextInt();
		int k = kb.nextInt();
		if (i == j && j != k) {
			kn = "Yes";
		} else if (i == k && i != j) {
			kn = "Yes";
		} else if (j == k && k != i) {
			kn = "Yes";
		}

		System.out.println(kn);
		kb.close();
	} main {
		Scanner kb = new Scanner(System.in);
		String kn = "No";
		int i = kb.nextInt();
		int j = kb.nextInt();
		int k = kb.nextInt();
		if (i == j && j != k) {
			kn = "Yes";
		} else if (i == k && i != j) {
			kn = "Yes";
		} else if (j == k && k != i) {
			kn = "Yes";
		}

		System.out.println(kn);
		kb.close();
	} Scanner kb = new Scanner(System.in); kb new Scanner(System.in) String kn = "No"; kn "No" int i = kb.nextInt(); i kb.nextInt() kb.nextInt kb int j = kb.nextInt(); j kb.nextInt() kb.nextInt kb int k = kb.nextInt(); k kb.nextInt() kb.nextInt kb if (i == j && j != k) {
			kn = "Yes";
		} else if (i == k && i != j) {
			kn = "Yes";
		} else if (j == k && k != i) {
			kn = "Yes";
		} i == j && j != k i == j i j j != k j k {
			kn = "Yes";
		} kn = "Yes" kn "Yes" if (i == k && i != j) {
			kn = "Yes";
		} else if (j == k && k != i) {
			kn = "Yes";
		} i == k && i != j i == k i k i != j i j {
			kn = "Yes";
		} kn = "Yes" kn "Yes" if (j == k && k != i) {
			kn = "Yes";
		} j == k && k != i j == k j k k != i k i {
			kn = "Yes";
		} kn = "Yes" kn "Yes" System.out.println(kn) System.out.println System.out System System.out kn kb.close() kb.close kb String[] args args public class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner(System.in);
		String kn = "No";
		int i = kb.nextInt();
		int j = kb.nextInt();
		int k = kb.nextInt();
		if (i == j && j != k) {
			kn = "Yes";
		} else if (i == k && i != j) {
			kn = "Yes";
		} else if (j == k && k != i) {
			kn = "Yes";
		}

		System.out.println(kn);
		kb.close();
	}

} public class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner(System.in);
		String kn = "No";
		int i = kb.nextInt();
		int j = kb.nextInt();
		int k = kb.nextInt();
		if (i == j && j != k) {
			kn = "Yes";
		} else if (i == k && i != j) {
			kn = "Yes";
		} else if (j == k && k != i) {
			kn = "Yes";
		}

		System.out.println(kn);
		kb.close();
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner(System.in);
		String kn = "No";
		int i = kb.nextInt();
		int j = kb.nextInt();
		int k = kb.nextInt();
		if (i == j && j != k) {
			kn = "Yes";
		} else if (i == k && i != j) {
			kn = "Yes";
		} else if (j == k && k != i) {
			kn = "Yes";
		}

		System.out.println(kn);
		kb.close();
	}

}
