import java.util.*;

class Main {
	Scanner sc;
	int A, B, C;
	
	private void calc() {
		sc = new Scanner(System.in);
		A = sc.nextInt();
		B = sc.nextInt();
		C = sc.nextInt();
		if ((A == B && A != C) ||
			(B == C && B != A) ||
			(C == A && C != B)) System.out.println("Yes");
		else System.out.println("No");
	}

	public static void main(String[] args) {
		new Main().calc();
	}
} import java.util.*; util.* java class Main {
	Scanner sc;
	int A, B, C;
	
	private void calc() {
		sc = new Scanner(System.in);
		A = sc.nextInt();
		B = sc.nextInt();
		C = sc.nextInt();
		if ((A == B && A != C) ||
			(B == C && B != A) ||
			(C == A && C != B)) System.out.println("Yes");
		else System.out.println("No");
	}

	public static void main(String[] args) {
		new Main().calc();
	}
} Main Scanner sc; sc int A A B B C; C private void calc() {
		sc = new Scanner(System.in);
		A = sc.nextInt();
		B = sc.nextInt();
		C = sc.nextInt();
		if ((A == B && A != C) ||
			(B == C && B != A) ||
			(C == A && C != B)) System.out.println("Yes");
		else System.out.println("No");
	} calc {
		sc = new Scanner(System.in);
		A = sc.nextInt();
		B = sc.nextInt();
		C = sc.nextInt();
		if ((A == B && A != C) ||
			(B == C && B != A) ||
			(C == A && C != B)) System.out.println("Yes");
		else System.out.println("No");
	} sc = new Scanner(System.in) sc new Scanner(System.in) 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 if ((A == B && A != C) ||
			(B == C && B != A) ||
			(C == A && C != B)) System.out.println("Yes");
		else System.out.println("No"); (A == B && A != C) ||
			(B == C && B != A) ||
			(C == A && C != B) (A == B && A != C) ||
			(B == C && B != A) ||
			(C == A && C != B) (A == B && A != C) A == B A B A != C A C (B == C && B != A) B == C B C B != A B A (C == A && C != B) C == A C A C != B C B System.out.println("Yes") System.out.println System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" public static void main(String[] args) {
		new Main().calc();
	} main {
		new Main().calc();
	} new Main().calc() new Main().calc new Main() String[] args args
import java.util.*;

class Main {
	Scanner sc;
	int A, B, C;
	
	private void calc() {
		sc = new Scanner(System.in);
		A = sc.nextInt();
		B = sc.nextInt();
		C = sc.nextInt();
		if ((A == B && A != C) ||
			(B == C && B != A) ||
			(C == A && C != B)) System.out.println("Yes");
		else System.out.println("No");
	}

	public static void main(String[] args) {
		new Main().calc();
	}
}
