import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num1 = sc.nextInt();
		int num2 = sc.nextInt();
		int num3 = sc.nextInt();
		List<Integer> numlist = Arrays.asList(num1, num2, num3);
		Collections.sort(numlist);
		if (numlist.get(0) != numlist.get(1) && numlist.get(1) != numlist.get(2)) {
			System.out.println("No");
		} else if (numlist.get(0) == numlist.get(1) && numlist.get(1) == numlist.get(2)) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
		
	}

} import java.util.Arrays; Arrays java.util import java.util.Collections; Collections java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num1 = sc.nextInt();
		int num2 = sc.nextInt();
		int num3 = sc.nextInt();
		List<Integer> numlist = Arrays.asList(num1, num2, num3);
		Collections.sort(numlist);
		if (numlist.get(0) != numlist.get(1) && numlist.get(1) != numlist.get(2)) {
			System.out.println("No");
		} else if (numlist.get(0) == numlist.get(1) && numlist.get(1) == numlist.get(2)) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
		
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num1 = sc.nextInt();
		int num2 = sc.nextInt();
		int num3 = sc.nextInt();
		List<Integer> numlist = Arrays.asList(num1, num2, num3);
		Collections.sort(numlist);
		if (numlist.get(0) != numlist.get(1) && numlist.get(1) != numlist.get(2)) {
			System.out.println("No");
		} else if (numlist.get(0) == numlist.get(1) && numlist.get(1) == numlist.get(2)) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
		
	} main {
		Scanner sc = new Scanner(System.in);
		int num1 = sc.nextInt();
		int num2 = sc.nextInt();
		int num3 = sc.nextInt();
		List<Integer> numlist = Arrays.asList(num1, num2, num3);
		Collections.sort(numlist);
		if (numlist.get(0) != numlist.get(1) && numlist.get(1) != numlist.get(2)) {
			System.out.println("No");
		} else if (numlist.get(0) == numlist.get(1) && numlist.get(1) == numlist.get(2)) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num1 = sc.nextInt(); num1 sc.nextInt() sc.nextInt sc int num2 = sc.nextInt(); num2 sc.nextInt() sc.nextInt sc int num3 = sc.nextInt(); num3 sc.nextInt() sc.nextInt sc List<Integer> numlist = Arrays.asList(num1, num2, num3); numlist Arrays.asList(num1, num2, num3) Arrays.asList Arrays num1 num2 num3 Collections.sort(numlist) Collections.sort Collections numlist if (numlist.get(0) != numlist.get(1) && numlist.get(1) != numlist.get(2)) {
			System.out.println("No");
		} else if (numlist.get(0) == numlist.get(1) && numlist.get(1) == numlist.get(2)) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		} numlist.get(0) != numlist.get(1) && numlist.get(1) != numlist.get(2) numlist.get(0) != numlist.get(1) numlist.get(0) numlist.get numlist 0 numlist.get(1) numlist.get numlist 1 numlist.get(1) != numlist.get(2) numlist.get(1) numlist.get numlist 1 numlist.get(2) numlist.get numlist 2 {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" if (numlist.get(0) == numlist.get(1) && numlist.get(1) == numlist.get(2)) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		} numlist.get(0) == numlist.get(1) && numlist.get(1) == numlist.get(2) numlist.get(0) == numlist.get(1) numlist.get(0) numlist.get numlist 0 numlist.get(1) numlist.get numlist 1 numlist.get(1) == numlist.get(2) numlist.get(1) numlist.get numlist 1 numlist.get(2) numlist.get numlist 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) {
		Scanner sc = new Scanner(System.in);
		int num1 = sc.nextInt();
		int num2 = sc.nextInt();
		int num3 = sc.nextInt();
		List<Integer> numlist = Arrays.asList(num1, num2, num3);
		Collections.sort(numlist);
		if (numlist.get(0) != numlist.get(1) && numlist.get(1) != numlist.get(2)) {
			System.out.println("No");
		} else if (numlist.get(0) == numlist.get(1) && numlist.get(1) == numlist.get(2)) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
		
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num1 = sc.nextInt();
		int num2 = sc.nextInt();
		int num3 = sc.nextInt();
		List<Integer> numlist = Arrays.asList(num1, num2, num3);
		Collections.sort(numlist);
		if (numlist.get(0) != numlist.get(1) && numlist.get(1) != numlist.get(2)) {
			System.out.println("No");
		} else if (numlist.get(0) == numlist.get(1) && numlist.get(1) == numlist.get(2)) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
		
	}

} Main
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num1 = sc.nextInt();
		int num2 = sc.nextInt();
		int num3 = sc.nextInt();
		List<Integer> numlist = Arrays.asList(num1, num2, num3);
		Collections.sort(numlist);
		if (numlist.get(0) != numlist.get(1) && numlist.get(1) != numlist.get(2)) {
			System.out.println("No");
		} else if (numlist.get(0) == numlist.get(1) && numlist.get(1) == numlist.get(2)) {
			System.out.println("No");
		} else {
			System.out.println("Yes");
		}
		
	}

}
