import java.util.Scanner;

public class Main{
    public static void main(String[] args){

	Scanner sc = new Scanner(System.in);

	int n1 = Integer.parseInt(sc.next());
	int n2 = Integer.parseInt(sc.next());
	int n3 = Integer.parseInt(sc.next());

        String result;

	if(n1 == n2){
	    if(n1 == n3){
		result = "No";
	    } else {
		result = "Yes";
	    }
	} else if(n1 == n3){
	    result = "Yes";
        } else if(n2 == n3) {
	    result = "Yes";
	} else {
	    result = "No";
	}
    
	System.out.println(result);

    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){

	Scanner sc = new Scanner(System.in);

	int n1 = Integer.parseInt(sc.next());
	int n2 = Integer.parseInt(sc.next());
	int n3 = Integer.parseInt(sc.next());

        String result;

	if(n1 == n2){
	    if(n1 == n3){
		result = "No";
	    } else {
		result = "Yes";
	    }
	} else if(n1 == n3){
	    result = "Yes";
        } else if(n2 == n3) {
	    result = "Yes";
	} else {
	    result = "No";
	}
    
	System.out.println(result);

    }
} Main public static void main(String[] args){

	Scanner sc = new Scanner(System.in);

	int n1 = Integer.parseInt(sc.next());
	int n2 = Integer.parseInt(sc.next());
	int n3 = Integer.parseInt(sc.next());

        String result;

	if(n1 == n2){
	    if(n1 == n3){
		result = "No";
	    } else {
		result = "Yes";
	    }
	} else if(n1 == n3){
	    result = "Yes";
        } else if(n2 == n3) {
	    result = "Yes";
	} else {
	    result = "No";
	}
    
	System.out.println(result);

    } main {

	Scanner sc = new Scanner(System.in);

	int n1 = Integer.parseInt(sc.next());
	int n2 = Integer.parseInt(sc.next());
	int n3 = Integer.parseInt(sc.next());

        String result;

	if(n1 == n2){
	    if(n1 == n3){
		result = "No";
	    } else {
		result = "Yes";
	    }
	} else if(n1 == n3){
	    result = "Yes";
        } else if(n2 == n3) {
	    result = "Yes";
	} else {
	    result = "No";
	}
    
	System.out.println(result);

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n1 = Integer.parseInt(sc.next()); n1 Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int n2 = Integer.parseInt(sc.next()); n2 Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int n3 = Integer.parseInt(sc.next()); n3 Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc String result; result if(n1 == n2){
	    if(n1 == n3){
		result = "No";
	    } else {
		result = "Yes";
	    }
	} else if(n1 == n3){
	    result = "Yes";
        } else if(n2 == n3) {
	    result = "Yes";
	} else {
	    result = "No";
	} n1 == n2 n1 n2 {
	    if(n1 == n3){
		result = "No";
	    } else {
		result = "Yes";
	    }
	} if(n1 == n3){
		result = "No";
	    } else {
		result = "Yes";
	    } n1 == n3 n1 n3 {
		result = "No";
	    } result = "No" result "No" {
		result = "Yes";
	    } result = "Yes" result "Yes" if(n1 == n3){
	    result = "Yes";
        } else if(n2 == n3) {
	    result = "Yes";
	} else {
	    result = "No";
	} n1 == n3 n1 n3 {
	    result = "Yes";
        } result = "Yes" result "Yes" if(n2 == n3) {
	    result = "Yes";
	} else {
	    result = "No";
	} n2 == n3 n2 n3 {
	    result = "Yes";
	} result = "Yes" result "Yes" {
	    result = "No";
	} result = "No" result "No" System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main{
    public static void main(String[] args){

	Scanner sc = new Scanner(System.in);

	int n1 = Integer.parseInt(sc.next());
	int n2 = Integer.parseInt(sc.next());
	int n3 = Integer.parseInt(sc.next());

        String result;

	if(n1 == n2){
	    if(n1 == n3){
		result = "No";
	    } else {
		result = "Yes";
	    }
	} else if(n1 == n3){
	    result = "Yes";
        } else if(n2 == n3) {
	    result = "Yes";
	} else {
	    result = "No";
	}
    
	System.out.println(result);

    }
} public class Main{
    public static void main(String[] args){

	Scanner sc = new Scanner(System.in);

	int n1 = Integer.parseInt(sc.next());
	int n2 = Integer.parseInt(sc.next());
	int n3 = Integer.parseInt(sc.next());

        String result;

	if(n1 == n2){
	    if(n1 == n3){
		result = "No";
	    } else {
		result = "Yes";
	    }
	} else if(n1 == n3){
	    result = "Yes";
        } else if(n2 == n3) {
	    result = "Yes";
	} else {
	    result = "No";
	}
    
	System.out.println(result);

    }
} Main
import java.util.Scanner;

public class Main{
    public static void main(String[] args){

	Scanner sc = new Scanner(System.in);

	int n1 = Integer.parseInt(sc.next());
	int n2 = Integer.parseInt(sc.next());
	int n3 = Integer.parseInt(sc.next());

        String result;

	if(n1 == n2){
	    if(n1 == n3){
		result = "No";
	    } else {
		result = "Yes";
	    }
	} else if(n1 == n3){
	    result = "Yes";
        } else if(n2 == n3) {
	    result = "Yes";
	} else {
	    result = "No";
	}
    
	System.out.println(result);

    }
}