import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input_text = scanner.nextLine();
        String[] data = input_text.split(" ");
        if(data[0].equals(data[1]) && data[0].equals(data[2])) {
            System.out.println("No");
        } else if (data[0].equals(data[1]) && !data[0].equals(data[2])) {
            System.out.println("Yes");
        } else if (data[0].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else if (data[1].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scanner.close();
    }

} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input_text = scanner.nextLine();
        String[] data = input_text.split(" ");
        if(data[0].equals(data[1]) && data[0].equals(data[2])) {
            System.out.println("No");
        } else if (data[0].equals(data[1]) && !data[0].equals(data[2])) {
            System.out.println("Yes");
        } else if (data[0].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else if (data[1].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scanner.close();
    }

} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input_text = scanner.nextLine();
        String[] data = input_text.split(" ");
        if(data[0].equals(data[1]) && data[0].equals(data[2])) {
            System.out.println("No");
        } else if (data[0].equals(data[1]) && !data[0].equals(data[2])) {
            System.out.println("Yes");
        } else if (data[0].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else if (data[1].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scanner.close();
    } main {
        Scanner scanner = new Scanner(System.in);
        String input_text = scanner.nextLine();
        String[] data = input_text.split(" ");
        if(data[0].equals(data[1]) && data[0].equals(data[2])) {
            System.out.println("No");
        } else if (data[0].equals(data[1]) && !data[0].equals(data[2])) {
            System.out.println("Yes");
        } else if (data[0].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else if (data[1].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scanner.close();
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String input_text = scanner.nextLine(); input_text scanner.nextLine() scanner.nextLine scanner String[] data = input_text.split(" "); data input_text.split(" ") input_text.split input_text " " if(data[0].equals(data[1]) && data[0].equals(data[2])) {
            System.out.println("No");
        } else if (data[0].equals(data[1]) && !data[0].equals(data[2])) {
            System.out.println("Yes");
        } else if (data[0].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else if (data[1].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } data[0].equals(data[1]) && data[0].equals(data[2]) data[0].equals(data[1]) data[0].equals data[0] data 0 data[1] data 1 data[0].equals(data[2]) data[0].equals data[0] data 0 data[2] data 2 {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" if (data[0].equals(data[1]) && !data[0].equals(data[2])) {
            System.out.println("Yes");
        } else if (data[0].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else if (data[1].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } data[0].equals(data[1]) && !data[0].equals(data[2]) data[0].equals(data[1]) data[0].equals data[0] data 0 data[1] data 1 !data[0].equals(data[2]) data[0].equals(data[2]) data[0].equals data[0] data 0 data[2] data 2 {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" if (data[0].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else if (data[1].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } data[0].equals(data[2]) && !data[0].equals(data[1]) data[0].equals(data[2]) data[0].equals data[0] data 0 data[2] data 2 !data[0].equals(data[1]) data[0].equals(data[1]) data[0].equals data[0] data 0 data[1] data 1 {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" if (data[1].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } data[1].equals(data[2]) && !data[0].equals(data[1]) data[1].equals(data[2]) data[1].equals data[1] data 1 data[2] data 2 !data[0].equals(data[1]) data[0].equals(data[1]) data[0].equals data[0] data 0 data[1] data 1 {
            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" scanner.close() scanner.close scanner String[] args args public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input_text = scanner.nextLine();
        String[] data = input_text.split(" ");
        if(data[0].equals(data[1]) && data[0].equals(data[2])) {
            System.out.println("No");
        } else if (data[0].equals(data[1]) && !data[0].equals(data[2])) {
            System.out.println("Yes");
        } else if (data[0].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else if (data[1].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scanner.close();
    }

} public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input_text = scanner.nextLine();
        String[] data = input_text.split(" ");
        if(data[0].equals(data[1]) && data[0].equals(data[2])) {
            System.out.println("No");
        } else if (data[0].equals(data[1]) && !data[0].equals(data[2])) {
            System.out.println("Yes");
        } else if (data[0].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else if (data[1].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scanner.close();
    }

} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String input_text = scanner.nextLine();
        String[] data = input_text.split(" ");
        if(data[0].equals(data[1]) && data[0].equals(data[2])) {
            System.out.println("No");
        } else if (data[0].equals(data[1]) && !data[0].equals(data[2])) {
            System.out.println("Yes");
        } else if (data[0].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else if (data[1].equals(data[2]) && !data[0].equals(data[1])) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
        scanner.close();
    }

}