import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        // Your code here!
        Scanner scan = new Scanner(System.in);        
        String As = scan.next();
        String Bs = scan.next();
        String Cs = scan.next();

	    int A = Integer.parseInt(As);
	    int B = Integer.parseInt(Bs);
 	    int C = Integer.parseInt(Cs);

        if(A==B){
            if(A==C){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(B==C || A==C){
                System.out.println("Yes");
        }else{
                System.out.println("No");
        }
        
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        // Your code here!
        Scanner scan = new Scanner(System.in);        
        String As = scan.next();
        String Bs = scan.next();
        String Cs = scan.next();

	    int A = Integer.parseInt(As);
	    int B = Integer.parseInt(Bs);
 	    int C = Integer.parseInt(Cs);

        if(A==B){
            if(A==C){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(B==C || A==C){
                System.out.println("Yes");
        }else{
                System.out.println("No");
        }
        
    }
} Main public static void main(String[] args) {
        // Your code here!
        Scanner scan = new Scanner(System.in);        
        String As = scan.next();
        String Bs = scan.next();
        String Cs = scan.next();

	    int A = Integer.parseInt(As);
	    int B = Integer.parseInt(Bs);
 	    int C = Integer.parseInt(Cs);

        if(A==B){
            if(A==C){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(B==C || A==C){
                System.out.println("Yes");
        }else{
                System.out.println("No");
        }
        
    } main {
        // Your code here!
        Scanner scan = new Scanner(System.in);        
        String As = scan.next();
        String Bs = scan.next();
        String Cs = scan.next();

	    int A = Integer.parseInt(As);
	    int B = Integer.parseInt(Bs);
 	    int C = Integer.parseInt(Cs);

        if(A==B){
            if(A==C){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(B==C || A==C){
                System.out.println("Yes");
        }else{
                System.out.println("No");
        }
        
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String As = scan.next(); As scan.next() scan.next scan String Bs = scan.next(); Bs scan.next() scan.next scan String Cs = scan.next(); Cs scan.next() scan.next scan int A = Integer.parseInt(As); A Integer.parseInt(As) Integer.parseInt Integer As int B = Integer.parseInt(Bs); B Integer.parseInt(Bs) Integer.parseInt Integer Bs int C = Integer.parseInt(Cs); C Integer.parseInt(Cs) Integer.parseInt Integer Cs if(A==B){
            if(A==C){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(B==C || A==C){
                System.out.println("Yes");
        }else{
                System.out.println("No");
        } A==B A B {
            if(A==C){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        } if(A==C){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            } A==C A C {
                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" if(B==C || A==C){
                System.out.println("Yes");
        }else{
                System.out.println("No");
        } B==C || A==C B==C B C A==C A C {
                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) {
        // Your code here!
        Scanner scan = new Scanner(System.in);        
        String As = scan.next();
        String Bs = scan.next();
        String Cs = scan.next();

	    int A = Integer.parseInt(As);
	    int B = Integer.parseInt(Bs);
 	    int C = Integer.parseInt(Cs);

        if(A==B){
            if(A==C){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(B==C || A==C){
                System.out.println("Yes");
        }else{
                System.out.println("No");
        }
        
    }
} public class Main {
    public static void main(String[] args) {
        // Your code here!
        Scanner scan = new Scanner(System.in);        
        String As = scan.next();
        String Bs = scan.next();
        String Cs = scan.next();

	    int A = Integer.parseInt(As);
	    int B = Integer.parseInt(Bs);
 	    int C = Integer.parseInt(Cs);

        if(A==B){
            if(A==C){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(B==C || A==C){
                System.out.println("Yes");
        }else{
                System.out.println("No");
        }
        
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        // Your code here!
        Scanner scan = new Scanner(System.in);        
        String As = scan.next();
        String Bs = scan.next();
        String Cs = scan.next();

	    int A = Integer.parseInt(As);
	    int B = Integer.parseInt(Bs);
 	    int C = Integer.parseInt(Cs);

        if(A==B){
            if(A==C){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(B==C || A==C){
                System.out.println("Yes");
        }else{
                System.out.println("No");
        }
        
    }
}