import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		
		String s = "No";
        int b = sc.nextInt();
		int c = sc.nextInt();
        if((a-b)*(b-c)*(c-a)==0 && (a!=b || b!=c || c!=a)){s = "Yes";}
		System.out.println(s);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		
		String s = "No";
        int b = sc.nextInt();
		int c = sc.nextInt();
        if((a-b)*(b-c)*(c-a)==0 && (a!=b || b!=c || c!=a)){s = "Yes";}
		System.out.println(s);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		
		String s = "No";
        int b = sc.nextInt();
		int c = sc.nextInt();
        if((a-b)*(b-c)*(c-a)==0 && (a!=b || b!=c || c!=a)){s = "Yes";}
		System.out.println(s);
	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		
		String s = "No";
        int b = sc.nextInt();
		int c = sc.nextInt();
        if((a-b)*(b-c)*(c-a)==0 && (a!=b || b!=c || c!=a)){s = "Yes";}
		System.out.println(s);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc String s = "No"; s "No" int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc if((a-b)*(b-c)*(c-a)==0 && (a!=b || b!=c || c!=a)){s = "Yes";} (a-b)*(b-c)*(c-a)==0 && (a!=b || b!=c || c!=a) (a-b)*(b-c)*(c-a)==0 (a-b)*(b-c)*(c-a) (a-b)*(b-c)*(c-a) (a-b) a b (b-c) b c (c-a) c a 0 (a!=b || b!=c || c!=a) a!=b || b!=c || c!=a a!=b a b b!=c b c c!=a c a {s = "Yes";} s = "Yes" s "Yes" System.out.println(s) System.out.println System.out System System.out s String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		
		String s = "No";
        int b = sc.nextInt();
		int c = sc.nextInt();
        if((a-b)*(b-c)*(c-a)==0 && (a!=b || b!=c || c!=a)){s = "Yes";}
		System.out.println(s);
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		
		String s = "No";
        int b = sc.nextInt();
		int c = sc.nextInt();
        if((a-b)*(b-c)*(c-a)==0 && (a!=b || b!=c || c!=a)){s = "Yes";}
		System.out.println(s);
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		
		String s = "No";
        int b = sc.nextInt();
		int c = sc.nextInt();
        if((a-b)*(b-c)*(c-a)==0 && (a!=b || b!=c || c!=a)){s = "Yes";}
		System.out.println(s);
	}
}
