import java.util.Scanner;
import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);

        Integer a = Integer.parseInt(scanner.next());
        Integer b = Integer.parseInt(scanner.next());
        Integer c = Integer.parseInt(scanner.next());

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

    }
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);

        Integer a = Integer.parseInt(scanner.next());
        Integer b = Integer.parseInt(scanner.next());
        Integer c = Integer.parseInt(scanner.next());

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

    }
} Main public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);

        Integer a = Integer.parseInt(scanner.next());
        Integer b = Integer.parseInt(scanner.next());
        Integer c = Integer.parseInt(scanner.next());

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

    } main {
        //コード
        Scanner scanner = new Scanner(System.in);

        Integer a = Integer.parseInt(scanner.next());
        Integer b = Integer.parseInt(scanner.next());
        Integer c = Integer.parseInt(scanner.next());

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

    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) Integer a = Integer.parseInt(scanner.next()); a Integer.parseInt(scanner.next()) Integer.parseInt Integer scanner.next() scanner.next scanner Integer b = Integer.parseInt(scanner.next()); b Integer.parseInt(scanner.next()) Integer.parseInt Integer scanner.next() scanner.next scanner Integer c = Integer.parseInt(scanner.next()); c Integer.parseInt(scanner.next()) Integer.parseInt Integer scanner.next() scanner.next scanner if (a.equals(b) != a.equals(c) || b.equals(a) != b.equals(c)) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } a.equals(b) != a.equals(c) || b.equals(a) != b.equals(c) a.equals(b) != a.equals(c) a.equals(b) a.equals a b a.equals(c) a.equals a c b.equals(a) != b.equals(c) b.equals(a) b.equals b a b.equals(c) b.equals b 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 public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);

        Integer a = Integer.parseInt(scanner.next());
        Integer b = Integer.parseInt(scanner.next());
        Integer c = Integer.parseInt(scanner.next());

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

    }
} public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);

        Integer a = Integer.parseInt(scanner.next());
        Integer b = Integer.parseInt(scanner.next());
        Integer c = Integer.parseInt(scanner.next());

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

    }
} Main
import java.util.Scanner;
import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);

        Integer a = Integer.parseInt(scanner.next());
        Integer b = Integer.parseInt(scanner.next());
        Integer c = Integer.parseInt(scanner.next());

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

    }
}