import java.util.Scanner;

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

        boolean count = false;

        if(a == b) count = !count;
        else if(a == c) count = !count;
        if(b == c) count = !count;
        
        if(count) System.out.println("Yes");
        else System.out.println("No");
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        scan.close();

        boolean count = false;

        if(a == b) count = !count;
        else if(a == c) count = !count;
        if(b == c) count = !count;
        
        if(count) System.out.println("Yes");
        else System.out.println("No");
    }
} Main public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        scan.close();

        boolean count = false;

        if(a == b) count = !count;
        else if(a == c) count = !count;
        if(b == c) count = !count;
        
        if(count) System.out.println("Yes");
        else System.out.println("No");
    } main {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        scan.close();

        boolean count = false;

        if(a == b) count = !count;
        else if(a == c) count = !count;
        if(b == c) count = !count;
        
        if(count) System.out.println("Yes");
        else System.out.println("No");
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan scan.close() scan.close scan boolean count = false; count false if(a == b) count = !count;
        else if(a == c) count = !count; a == b a b count = !count count !count count if(a == c) count = !count; a == c a c count = !count count !count count if(b == c) count = !count; b == c b c count = !count count !count count if(count) System.out.println("Yes");
        else System.out.println("No"); count 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
import java.util.Scanner;

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

        boolean count = false;

        if(a == b) count = !count;
        else if(a == c) count = !count;
        if(b == c) count = !count;
        
        if(count) System.out.println("Yes");
        else System.out.println("No");
    }
}