import java.util.Scanner;
public class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        int numa = scan.nextInt();
        int numb = scan.nextInt();
        int numc = scan.nextInt();
        if(numa == numb && numb == numc && numa == numc){
            System.out.println("No");
        }else if(numa == numb){
            System.out.println("Yes");
        }else if(numa == numc){
            System.out.println("Yes");
        }else if(numb == numc){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        } 
    }   
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        int numa = scan.nextInt();
        int numb = scan.nextInt();
        int numc = scan.nextInt();
        if(numa == numb && numb == numc && numa == numc){
            System.out.println("No");
        }else if(numa == numb){
            System.out.println("Yes");
        }else if(numa == numc){
            System.out.println("Yes");
        }else if(numb == numc){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        } 
    }   
} Main public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        int numa = scan.nextInt();
        int numb = scan.nextInt();
        int numc = scan.nextInt();
        if(numa == numb && numb == numc && numa == numc){
            System.out.println("No");
        }else if(numa == numb){
            System.out.println("Yes");
        }else if(numa == numc){
            System.out.println("Yes");
        }else if(numb == numc){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        } 
    } main {
        Scanner scan = new Scanner(System.in);
        int numa = scan.nextInt();
        int numb = scan.nextInt();
        int numc = scan.nextInt();
        if(numa == numb && numb == numc && numa == numc){
            System.out.println("No");
        }else if(numa == numb){
            System.out.println("Yes");
        }else if(numa == numc){
            System.out.println("Yes");
        }else if(numb == numc){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        } 
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int numa = scan.nextInt(); numa scan.nextInt() scan.nextInt scan int numb = scan.nextInt(); numb scan.nextInt() scan.nextInt scan int numc = scan.nextInt(); numc scan.nextInt() scan.nextInt scan if(numa == numb && numb == numc && numa == numc){
            System.out.println("No");
        }else if(numa == numb){
            System.out.println("Yes");
        }else if(numa == numc){
            System.out.println("Yes");
        }else if(numb == numc){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        } numa == numb && numb == numc && numa == numc numa == numb && numb == numc && numa == numc numa == numb numa numb numb == numc numb numc numa == numc numa numc {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" if(numa == numb){
            System.out.println("Yes");
        }else if(numa == numc){
            System.out.println("Yes");
        }else if(numb == numc){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        } numa == numb numa numb {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" if(numa == numc){
            System.out.println("Yes");
        }else if(numb == numc){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        } numa == numc numa numc {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" if(numb == numc){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        } numb == numc numb numc {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
            System.out.println("No");
        } 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 scan = new Scanner(System.in);
        int numa = scan.nextInt();
        int numb = scan.nextInt();
        int numc = scan.nextInt();
        if(numa == numb && numb == numc && numa == numc){
            System.out.println("No");
        }else if(numa == numb){
            System.out.println("Yes");
        }else if(numa == numc){
            System.out.println("Yes");
        }else if(numb == numc){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        } 
    }   
} public class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        int numa = scan.nextInt();
        int numb = scan.nextInt();
        int numc = scan.nextInt();
        if(numa == numb && numb == numc && numa == numc){
            System.out.println("No");
        }else if(numa == numb){
            System.out.println("Yes");
        }else if(numa == numc){
            System.out.println("Yes");
        }else if(numb == numc){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        } 
    }   
} Main
import java.util.Scanner;
public class Main{
    public static void main(String args[]){
        Scanner scan = new Scanner(System.in);
        int numa = scan.nextInt();
        int numb = scan.nextInt();
        int numc = scan.nextInt();
        if(numa == numb && numb == numc && numa == numc){
            System.out.println("No");
        }else if(numa == numb){
            System.out.println("Yes");
        }else if(numa == numc){
            System.out.println("Yes");
        }else if(numb == numc){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        } 
    }   
}