import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        int a = Integer.parseInt(stdIn.next());
        int b = Integer.parseInt(stdIn.next());
        int c = Integer.parseInt(stdIn.next());

        if (a != b && b == c && c != a) {
            System.out.println("Yes");
        } else if (a != b && b != c && c == a) {
            System.out.println("Yes");
        } else if (a == b && b != c && c != a) {
            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 stdIn = new Scanner(System.in);
        int a = Integer.parseInt(stdIn.next());
        int b = Integer.parseInt(stdIn.next());
        int c = Integer.parseInt(stdIn.next());

        if (a != b && b == c && c != a) {
            System.out.println("Yes");
        } else if (a != b && b != c && c == a) {
            System.out.println("Yes");
        } else if (a == b && b != c && c != a) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        int a = Integer.parseInt(stdIn.next());
        int b = Integer.parseInt(stdIn.next());
        int c = Integer.parseInt(stdIn.next());

        if (a != b && b == c && c != a) {
            System.out.println("Yes");
        } else if (a != b && b != c && c == a) {
            System.out.println("Yes");
        } else if (a == b && b != c && c != a) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } main {
        Scanner stdIn = new Scanner(System.in);
        int a = Integer.parseInt(stdIn.next());
        int b = Integer.parseInt(stdIn.next());
        int c = Integer.parseInt(stdIn.next());

        if (a != b && b == c && c != a) {
            System.out.println("Yes");
        } else if (a != b && b != c && c == a) {
            System.out.println("Yes");
        } else if (a == b && b != c && c != a) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int a = Integer.parseInt(stdIn.next()); a Integer.parseInt(stdIn.next()) Integer.parseInt Integer stdIn.next() stdIn.next stdIn int b = Integer.parseInt(stdIn.next()); b Integer.parseInt(stdIn.next()) Integer.parseInt Integer stdIn.next() stdIn.next stdIn int c = Integer.parseInt(stdIn.next()); c Integer.parseInt(stdIn.next()) Integer.parseInt Integer stdIn.next() stdIn.next stdIn if (a != b && b == c && c != a) {
            System.out.println("Yes");
        } else if (a != b && b != c && c == a) {
            System.out.println("Yes");
        } else if (a == b && b != c && c != a) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } a != b && b == c && c != a a != b && b == c && c != a a != b a b b == c b c c != a c a {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" if (a != b && b != c && c == a) {
            System.out.println("Yes");
        } else if (a == b && b != c && c != a) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } a != b && b != c && c == a a != b && b != c && c == a a != b a b b != c b c c == a c a {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" if (a == b && b != c && c != a) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } a == b && b != c && c != a a == b && b != c && c != a a == b a b b != c b c c != a c a {
            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.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        int a = Integer.parseInt(stdIn.next());
        int b = Integer.parseInt(stdIn.next());
        int c = Integer.parseInt(stdIn.next());

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