import java.util.Scanner;
 
public class Main {
 
	public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        String res = "No";

        if((a == b && a != c)||(b == c && b != a)||(c == a && c != b)){res = "Yes";}

        System.out.println(res);

        sc.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {
 
	public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        String res = "No";

        if((a == b && a != c)||(b == c && b != a)||(c == a && c != b)){res = "Yes";}

        System.out.println(res);

        sc.close();
    }
} Main public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        String res = "No";

        if((a == b && a != c)||(b == c && b != a)||(c == a && c != b)){res = "Yes";}

        System.out.println(res);

        sc.close();
    } main {
        
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        String res = "No";

        if((a == b && a != c)||(b == c && b != a)||(c == a && c != b)){res = "Yes";}

        System.out.println(res);

        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc String res = "No"; res "No" if((a == b && a != c)||(b == c && b != a)||(c == a && c != b)){res = "Yes";} (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 {res = "Yes";} res = "Yes" res "Yes" System.out.println(res) System.out.println System.out System System.out res sc.close() sc.close sc String[] args args public class Main {
 
	public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        String res = "No";

        if((a == b && a != c)||(b == c && b != a)||(c == a && c != b)){res = "Yes";}

        System.out.println(res);

        sc.close();
    }
} public class Main {
 
	public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        String res = "No";

        if((a == b && a != c)||(b == c && b != a)||(c == a && c != b)){res = "Yes";}

        System.out.println(res);

        sc.close();
    }
} Main
import java.util.Scanner;
 
public class Main {
 
	public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        
        String res = "No";

        if((a == b && a != c)||(b == c && b != a)||(c == a && c != b)){res = "Yes";}

        System.out.println(res);

        sc.close();
    }
}