import java.io.*;
import java.util.*;
public class Main{
   
     public static void main(String []args){
       Scanner s=new Scanner(System.in);
       long a[]=new long [3];
       for(int i=0;i<3;i++)
       a[i]=s.nextLong();
       Arrays.sort(a);
       boolean flag=false;
       for(int i=0;i<2;i++)
       {if(a[i]==a[i+1])
       {flag=true;
       break;}}
       if(a[0]==a[1] && a[1]==a[2])
       flag=false;
       if(flag)
       System.out.println("Yes");
       else
       System.out.println("No");}} import java.io.*; io.* java import java.util.*; util.* java public class Main{
   
     public static void main(String []args){
       Scanner s=new Scanner(System.in);
       long a[]=new long [3];
       for(int i=0;i<3;i++)
       a[i]=s.nextLong();
       Arrays.sort(a);
       boolean flag=false;
       for(int i=0;i<2;i++)
       {if(a[i]==a[i+1])
       {flag=true;
       break;}}
       if(a[0]==a[1] && a[1]==a[2])
       flag=false;
       if(flag)
       System.out.println("Yes");
       else
       System.out.println("No");}} Main public static void main(String []args){
       Scanner s=new Scanner(System.in);
       long a[]=new long [3];
       for(int i=0;i<3;i++)
       a[i]=s.nextLong();
       Arrays.sort(a);
       boolean flag=false;
       for(int i=0;i<2;i++)
       {if(a[i]==a[i+1])
       {flag=true;
       break;}}
       if(a[0]==a[1] && a[1]==a[2])
       flag=false;
       if(flag)
       System.out.println("Yes");
       else
       System.out.println("No");} main {
       Scanner s=new Scanner(System.in);
       long a[]=new long [3];
       for(int i=0;i<3;i++)
       a[i]=s.nextLong();
       Arrays.sort(a);
       boolean flag=false;
       for(int i=0;i<2;i++)
       {if(a[i]==a[i+1])
       {flag=true;
       break;}}
       if(a[0]==a[1] && a[1]==a[2])
       flag=false;
       if(flag)
       System.out.println("Yes");
       else
       System.out.println("No");} Scanner s=new Scanner(System.in); s new Scanner(System.in) long a[]=new long [3]; a new long [3] 3 for(int i=0;i<3;i++)
       a[i]=s.nextLong(); int i=0; int i=0; i 0 i<3 i 3 i++ i++ i a[i]=s.nextLong(); a[i]=s.nextLong() a[i] a i s.nextLong() s.nextLong s Arrays.sort(a) Arrays.sort Arrays a boolean flag=false; flag false for(int i=0;i<2;i++)
       {if(a[i]==a[i+1])
       {flag=true;
       break;}} int i=0; int i=0; i 0 i<2 i 2 i++ i++ i {if(a[i]==a[i+1])
       {flag=true;
       break;}} {if(a[i]==a[i+1])
       {flag=true;
       break;}} if(a[i]==a[i+1])
       {flag=true;
       break;} a[i]==a[i+1] a[i] a i a[i+1] a i+1 i 1 {flag=true;
       break;} flag=true flag true break; if(a[0]==a[1] && a[1]==a[2])
       flag=false; a[0]==a[1] && a[1]==a[2] a[0]==a[1] a[0] a 0 a[1] a 1 a[1]==a[2] a[1] a 1 a[2] a 2 flag=false flag false if(flag)
       System.out.println("Yes");
       else
       System.out.println("No"); flag System.out.println("Yes") System.out.println System.out System System.out "Yes" 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){
       Scanner s=new Scanner(System.in);
       long a[]=new long [3];
       for(int i=0;i<3;i++)
       a[i]=s.nextLong();
       Arrays.sort(a);
       boolean flag=false;
       for(int i=0;i<2;i++)
       {if(a[i]==a[i+1])
       {flag=true;
       break;}}
       if(a[0]==a[1] && a[1]==a[2])
       flag=false;
       if(flag)
       System.out.println("Yes");
       else
       System.out.println("No");}} public class Main{
   
     public static void main(String []args){
       Scanner s=new Scanner(System.in);
       long a[]=new long [3];
       for(int i=0;i<3;i++)
       a[i]=s.nextLong();
       Arrays.sort(a);
       boolean flag=false;
       for(int i=0;i<2;i++)
       {if(a[i]==a[i+1])
       {flag=true;
       break;}}
       if(a[0]==a[1] && a[1]==a[2])
       flag=false;
       if(flag)
       System.out.println("Yes");
       else
       System.out.println("No");}} Main
import java.io.*;
import java.util.*;
public class Main{
   
     public static void main(String []args){
       Scanner s=new Scanner(System.in);
       long a[]=new long [3];
       for(int i=0;i<3;i++)
       a[i]=s.nextLong();
       Arrays.sort(a);
       boolean flag=false;
       for(int i=0;i<2;i++)
       {if(a[i]==a[i+1])
       {flag=true;
       break;}}
       if(a[0]==a[1] && a[1]==a[2])
       flag=false;
       if(flag)
       System.out.println("Yes");
       else
       System.out.println("No");}}