
import java.util.*;


class Main {
    public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
        int n = s.nextInt();
        int a = s.nextInt();
        int b = s.nextInt();

        String ret="No";
        if(n==b){
            if(n!=a){
                ret="Yes";
            }
        }
        if(n==a){
            if(n!=b){
                ret="Yes";
            }
        }
        if(b==a){
            if(n!=b){
                ret="Yes";
            }
        }
        System.out.println(ret);

    }
} import java.util.*; util.* java class Main {
    public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
        int n = s.nextInt();
        int a = s.nextInt();
        int b = s.nextInt();

        String ret="No";
        if(n==b){
            if(n!=a){
                ret="Yes";
            }
        }
        if(n==a){
            if(n!=b){
                ret="Yes";
            }
        }
        if(b==a){
            if(n!=b){
                ret="Yes";
            }
        }
        System.out.println(ret);

    }
} Main public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
        int n = s.nextInt();
        int a = s.nextInt();
        int b = s.nextInt();

        String ret="No";
        if(n==b){
            if(n!=a){
                ret="Yes";
            }
        }
        if(n==a){
            if(n!=b){
                ret="Yes";
            }
        }
        if(b==a){
            if(n!=b){
                ret="Yes";
            }
        }
        System.out.println(ret);

    } main {
        Scanner s = new Scanner(System.in);
        int n = s.nextInt();
        int a = s.nextInt();
        int b = s.nextInt();

        String ret="No";
        if(n==b){
            if(n!=a){
                ret="Yes";
            }
        }
        if(n==a){
            if(n!=b){
                ret="Yes";
            }
        }
        if(b==a){
            if(n!=b){
                ret="Yes";
            }
        }
        System.out.println(ret);

    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int n = s.nextInt(); n s.nextInt() s.nextInt s int a = s.nextInt(); a s.nextInt() s.nextInt s int b = s.nextInt(); b s.nextInt() s.nextInt s String ret="No"; ret "No" if(n==b){
            if(n!=a){
                ret="Yes";
            }
        } n==b n b {
            if(n!=a){
                ret="Yes";
            }
        } if(n!=a){
                ret="Yes";
            } n!=a n a {
                ret="Yes";
            } ret="Yes" ret "Yes" if(n==a){
            if(n!=b){
                ret="Yes";
            }
        } n==a n a {
            if(n!=b){
                ret="Yes";
            }
        } if(n!=b){
                ret="Yes";
            } n!=b n b {
                ret="Yes";
            } ret="Yes" ret "Yes" if(b==a){
            if(n!=b){
                ret="Yes";
            }
        } b==a b a {
            if(n!=b){
                ret="Yes";
            }
        } if(n!=b){
                ret="Yes";
            } n!=b n b {
                ret="Yes";
            } ret="Yes" ret "Yes" System.out.println(ret) System.out.println System.out System System.out ret String args[] args

import java.util.*;


class Main {
    public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
        int n = s.nextInt();
        int a = s.nextInt();
        int b = s.nextInt();

        String ret="No";
        if(n==b){
            if(n!=a){
                ret="Yes";
            }
        }
        if(n==a){
            if(n!=b){
                ret="Yes";
            }
        }
        if(b==a){
            if(n!=b){
                ret="Yes";
            }
        }
        System.out.println(ret);

    }
}