import java.util.*;

public class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        if(a == b) {
            System.out.println((b != c) ? "Yes" : "No");
        } else if(b == c) {
            System.out.println((c != a) ? "Yes" : "No");
        } else if(c == a) {
            System.out.println((a != b) ? "Yes" : "No");
        } else {
            System.out.println("No");
        }
    }
} import java.util.*; util.* java public class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        if(a == b) {
            System.out.println((b != c) ? "Yes" : "No");
        } else if(b == c) {
            System.out.println((c != a) ? "Yes" : "No");
        } else if(c == a) {
            System.out.println((a != b) ? "Yes" : "No");
        } else {
            System.out.println("No");
        }
    }
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        if(a == b) {
            System.out.println((b != c) ? "Yes" : "No");
        } else if(b == c) {
            System.out.println((c != a) ? "Yes" : "No");
        } else if(c == a) {
            System.out.println((a != b) ? "Yes" : "No");
        } else {
            System.out.println("No");
        }
    } main {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        if(a == b) {
            System.out.println((b != c) ? "Yes" : "No");
        } else if(b == c) {
            System.out.println((c != a) ? "Yes" : "No");
        } else if(c == a) {
            System.out.println((a != b) ? "Yes" : "No");
        } else {
            System.out.println("No");
        }
    } int a = Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int b = Integer.parseInt(sc.next()); b Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int c = Integer.parseInt(sc.next()); c Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc if(a == b) {
            System.out.println((b != c) ? "Yes" : "No");
        } else if(b == c) {
            System.out.println((c != a) ? "Yes" : "No");
        } else if(c == a) {
            System.out.println((a != b) ? "Yes" : "No");
        } else {
            System.out.println("No");
        } a == b a b {
            System.out.println((b != c) ? "Yes" : "No");
        } System.out.println((b != c) ? "Yes" : "No") System.out.println System.out System System.out (b != c) ? "Yes" : "No" (b != c) b c "Yes" "No" if(b == c) {
            System.out.println((c != a) ? "Yes" : "No");
        } else if(c == a) {
            System.out.println((a != b) ? "Yes" : "No");
        } else {
            System.out.println("No");
        } b == c b c {
            System.out.println((c != a) ? "Yes" : "No");
        } System.out.println((c != a) ? "Yes" : "No") System.out.println System.out System System.out (c != a) ? "Yes" : "No" (c != a) c a "Yes" "No" if(c == a) {
            System.out.println((a != b) ? "Yes" : "No");
        } else {
            System.out.println("No");
        } c == a c a {
            System.out.println((a != b) ? "Yes" : "No");
        } System.out.println((a != b) ? "Yes" : "No") System.out.println System.out System System.out (a != b) ? "Yes" : "No" (a != b) a b "Yes" "No" {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        if(a == b) {
            System.out.println((b != c) ? "Yes" : "No");
        } else if(b == c) {
            System.out.println((c != a) ? "Yes" : "No");
        } else if(c == a) {
            System.out.println((a != b) ? "Yes" : "No");
        } else {
            System.out.println("No");
        }
    }
} public class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) {
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        if(a == b) {
            System.out.println((b != c) ? "Yes" : "No");
        } else if(b == c) {
            System.out.println((c != a) ? "Yes" : "No");
        } else if(c == a) {
            System.out.println((a != b) ? "Yes" : "No");
        } else {
            System.out.println("No");
        }
    }
} Main
import java.util.*;

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