import java.util.*;

class Main {
    // 
    static final long MOD = 1_000_000_007; // 10^9+7
    static final int MAX = 2_147_483_646; // intの最大値 
    static final int INF = 1_000_000_000; // 10^9  
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        if(a==b){
            if(a==c){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(b==c){
            System.out.println("Yes");
        }else if(a==c){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
    }
} import java.util.*; util.* java class Main {
    // 
    static final long MOD = 1_000_000_007; // 10^9+7
    static final int MAX = 2_147_483_646; // intの最大値 
    static final int INF = 1_000_000_000; // 10^9  
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        if(a==b){
            if(a==c){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(b==c){
            System.out.println("Yes");
        }else if(a==c){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
    }
} Main // 
    static final long MOD = 1_000_000_007; // 10^9+7 MOD 1_000_000_007 static final int MAX = 2_147_483_646; // intの最大値  MAX 2_147_483_646 static final int INF = 1_000_000_000; // 10^9   INF 1_000_000_000 public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        if(a==b){
            if(a==c){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(b==c){
            System.out.println("Yes");
        }else if(a==c){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
    } main {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        if(a==b){
            if(a==c){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(b==c){
            System.out.println("Yes");
        }else if(a==c){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc if(a==b){
            if(a==c){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(b==c){
            System.out.println("Yes");
        }else if(a==c){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        } a==b a b {
            if(a==c){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        } if(a==c){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            } a==c a c {
                System.out.println("No");
            } System.out.println("No") System.out.println System.out System System.out "No" {
                System.out.println("Yes");
            } System.out.println("Yes") System.out.println System.out System System.out "Yes" if(b==c){
            System.out.println("Yes");
        }else if(a==c){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        } b==c b c {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" if(a==c){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        } a==c a c {
            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
import java.util.*;

class Main {
    // 
    static final long MOD = 1_000_000_007; // 10^9+7
    static final int MAX = 2_147_483_646; // intの最大値 
    static final int INF = 1_000_000_000; // 10^9  
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        if(a==b){
            if(a==c){
                System.out.println("No");
            }else{
                System.out.println("Yes");
            }
        }else if(b==c){
            System.out.println("Yes");
        }else if(a==c){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        
    }
}