import java.util.*;

public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String ans[] = { "Yes", "No" };
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
		sc.close();
		int an = ((a == b) ? (a != c) ? 0 : 1 : (a == c) ? 0 : (b == c) ? 0 : 1);
		System.out.println(ans[an]);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String ans[] = { "Yes", "No" };
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
		sc.close();
		int an = ((a == b) ? (a != c) ? 0 : 1 : (a == c) ? 0 : (b == c) ? 0 : 1);
		System.out.println(ans[an]);
	}
} Main public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String ans[] = { "Yes", "No" };
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
		sc.close();
		int an = ((a == b) ? (a != c) ? 0 : 1 : (a == c) ? 0 : (b == c) ? 0 : 1);
		System.out.println(ans[an]);
	} main {
		Scanner sc = new Scanner(System.in);
		String ans[] = { "Yes", "No" };
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
		sc.close();
		int an = ((a == b) ? (a != c) ? 0 : 1 : (a == c) ? 0 : (b == c) ? 0 : 1);
		System.out.println(ans[an]);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String ans[] = { "Yes", "No" }; ans { "Yes", "No" } "Yes" "No" int a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt(); c sc.nextInt() sc.nextInt sc sc.close() sc.close sc int an = ((a == b) ? (a != c) ? 0 : 1 : (a == c) ? 0 : (b == c) ? 0 : 1); an ((a == b) ? (a != c) ? 0 : 1 : (a == c) ? 0 : (b == c) ? 0 : 1) (a == b) a b (a != c) ? 0 : 1 (a != c) a c 0 1 (a == c) ? 0 : (b == c) ? 0 : 1 (a == c) a c 0 (b == c) ? 0 : 1 (b == c) b c 0 1 System.out.println(ans[an]) System.out.println System.out System System.out ans[an] ans an String args[] args public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String ans[] = { "Yes", "No" };
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
		sc.close();
		int an = ((a == b) ? (a != c) ? 0 : 1 : (a == c) ? 0 : (b == c) ? 0 : 1);
		System.out.println(ans[an]);
	}
} public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String ans[] = { "Yes", "No" };
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
		sc.close();
		int an = ((a == b) ? (a != c) ? 0 : 1 : (a == c) ? 0 : (b == c) ? 0 : 1);
		System.out.println(ans[an]);
	}
} Main
import java.util.*;

public class Main {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String ans[] = { "Yes", "No" };
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
		sc.close();
		int an = ((a == b) ? (a != c) ? 0 : 1 : (a == c) ? 0 : (b == c) ? 0 : 1);
		System.out.println(ans[an]);
	}
}
