import java.util.*;
public class Main{
 public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
 
   int[] a = new int[3];
   for(int i=0;i<3;i++) a[i] = sc.nextInt();
 
   Arrays.sort(a);
   
   int ss = 0;
   int s = a[0];
   for(int i=1;i<3;i++) 
   {
     if(s==a[i])
     {
       ss++;
     }
     s = a[i];
   }
   
   String ans = "No";
   if(ss==1) ans = "Yes";
   System.out.print(ans);
 }
} import java.util.*; util.* java public class Main{
 public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
 
   int[] a = new int[3];
   for(int i=0;i<3;i++) a[i] = sc.nextInt();
 
   Arrays.sort(a);
   
   int ss = 0;
   int s = a[0];
   for(int i=1;i<3;i++) 
   {
     if(s==a[i])
     {
       ss++;
     }
     s = a[i];
   }
   
   String ans = "No";
   if(ss==1) ans = "Yes";
   System.out.print(ans);
 }
} Main public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
 
   int[] a = new int[3];
   for(int i=0;i<3;i++) a[i] = sc.nextInt();
 
   Arrays.sort(a);
   
   int ss = 0;
   int s = a[0];
   for(int i=1;i<3;i++) 
   {
     if(s==a[i])
     {
       ss++;
     }
     s = a[i];
   }
   
   String ans = "No";
   if(ss==1) ans = "Yes";
   System.out.print(ans);
 } main {
   Scanner sc = new Scanner(System.in);
 
   int[] a = new int[3];
   for(int i=0;i<3;i++) a[i] = sc.nextInt();
 
   Arrays.sort(a);
   
   int ss = 0;
   int s = a[0];
   for(int i=1;i<3;i++) 
   {
     if(s==a[i])
     {
       ss++;
     }
     s = a[i];
   }
   
   String ans = "No";
   if(ss==1) ans = "Yes";
   System.out.print(ans);
 } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int[] a = new int[3]; a new int[3] 3 for(int i=0;i<3;i++) a[i] = sc.nextInt(); int i=0; int i=0; i 0 i<3 i 3 i++ i++ i a[i] = sc.nextInt(); a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc Arrays.sort(a) Arrays.sort Arrays a int ss = 0; ss 0 int s = a[0]; s a[0] a 0 for(int i=1;i<3;i++) 
   {
     if(s==a[i])
     {
       ss++;
     }
     s = a[i];
   } int i=1; int i=1; i 1 i<3 i 3 i++ i++ i {
     if(s==a[i])
     {
       ss++;
     }
     s = a[i];
   } {
     if(s==a[i])
     {
       ss++;
     }
     s = a[i];
   } if(s==a[i])
     {
       ss++;
     } s==a[i] s a[i] a i {
       ss++;
     } ss++ ss s = a[i] s a[i] a i String ans = "No"; ans "No" if(ss==1) ans = "Yes"; ss==1 ss 1 ans = "Yes" ans "Yes" System.out.print(ans) System.out.print System.out System System.out ans String[] args args public class Main{
 public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
 
   int[] a = new int[3];
   for(int i=0;i<3;i++) a[i] = sc.nextInt();
 
   Arrays.sort(a);
   
   int ss = 0;
   int s = a[0];
   for(int i=1;i<3;i++) 
   {
     if(s==a[i])
     {
       ss++;
     }
     s = a[i];
   }
   
   String ans = "No";
   if(ss==1) ans = "Yes";
   System.out.print(ans);
 }
} public class Main{
 public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
 
   int[] a = new int[3];
   for(int i=0;i<3;i++) a[i] = sc.nextInt();
 
   Arrays.sort(a);
   
   int ss = 0;
   int s = a[0];
   for(int i=1;i<3;i++) 
   {
     if(s==a[i])
     {
       ss++;
     }
     s = a[i];
   }
   
   String ans = "No";
   if(ss==1) ans = "Yes";
   System.out.print(ans);
 }
} Main
import java.util.*;
public class Main{
 public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
 
   int[] a = new int[3];
   for(int i=0;i<3;i++) a[i] = sc.nextInt();
 
   Arrays.sort(a);
   
   int ss = 0;
   int s = a[0];
   for(int i=1;i<3;i++) 
   {
     if(s==a[i])
     {
       ss++;
     }
     s = a[i];
   }
   
   String ans = "No";
   if(ss==1) ans = "Yes";
   System.out.print(ans);
 }
}