import java.util.*;

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

public class Main { 
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String o="No";
		long a=sc.nextLong();
      long b=sc.nextLong();
      long c=sc.nextLong();
        if((a==b&&b!=c)||(a==c&&b!=c)||c==b&&a!=c)o="Yes";
      	System.out.println(o);
    }
    
}