
import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		int input[] = new int[3];
		
		input[0] = sc.nextInt();
		input[1] = sc.nextInt();
		input[2] = sc.nextInt();
		
		Arrays.sort(input);
		
		if((input[0] != input[2]) && (input[0] == input[1] || input[1] == input[2])){
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
	}

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

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		int input[] = new int[3];
		
		input[0] = sc.nextInt();
		input[1] = sc.nextInt();
		input[2] = sc.nextInt();
		
		Arrays.sort(input);
		
		if((input[0] != input[2]) && (input[0] == input[1] || input[1] == input[2])){
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
	}

} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		int input[] = new int[3];
		
		input[0] = sc.nextInt();
		input[1] = sc.nextInt();
		input[2] = sc.nextInt();
		
		Arrays.sort(input);
		
		if((input[0] != input[2]) && (input[0] == input[1] || input[1] == input[2])){
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
	} main {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		int input[] = new int[3];
		
		input[0] = sc.nextInt();
		input[1] = sc.nextInt();
		input[2] = sc.nextInt();
		
		Arrays.sort(input);
		
		if((input[0] != input[2]) && (input[0] == input[1] || input[1] == input[2])){
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int input[] = new int[3]; input new int[3] 3 input[0] = sc.nextInt() input[0] input 0 sc.nextInt() sc.nextInt sc input[1] = sc.nextInt() input[1] input 1 sc.nextInt() sc.nextInt sc input[2] = sc.nextInt() input[2] input 2 sc.nextInt() sc.nextInt sc Arrays.sort(input) Arrays.sort Arrays input if((input[0] != input[2]) && (input[0] == input[1] || input[1] == input[2])){
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		} (input[0] != input[2]) && (input[0] == input[1] || input[1] == input[2]) (input[0] != input[2]) input[0] input 0 input[2] input 2 (input[0] == input[1] || input[1] == input[2]) input[0] == input[1] input[0] input 0 input[1] input 1 input[1] == input[2] input[1] input 1 input[2] input 2 {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		int input[] = new int[3];
		
		input[0] = sc.nextInt();
		input[1] = sc.nextInt();
		input[2] = sc.nextInt();
		
		Arrays.sort(input);
		
		if((input[0] != input[2]) && (input[0] == input[1] || input[1] == input[2])){
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
	}

} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		int input[] = new int[3];
		
		input[0] = sc.nextInt();
		input[1] = sc.nextInt();
		input[2] = sc.nextInt();
		
		Arrays.sort(input);
		
		if((input[0] != input[2]) && (input[0] == input[1] || input[1] == input[2])){
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
	}

} Main

import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		int input[] = new int[3];
		
		input[0] = sc.nextInt();
		input[1] = sc.nextInt();
		input[2] = sc.nextInt();
		
		Arrays.sort(input);
		
		if((input[0] != input[2]) && (input[0] == input[1] || input[1] == input[2])){
			System.out.println("Yes");
		}
		else {
			System.out.println("No");
		}
	}

}
