import java.util.Scanner;

public class Main {

    public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        String result = (((a == b) && (a != c)) || ((a == c) && (a != b)) || ((b == c) && (a != b))) ? "Yes" : "No";

        System.out.println(result);

        sc.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        String result = (((a == b) && (a != c)) || ((a == c) && (a != b)) || ((b == c) && (a != b))) ? "Yes" : "No";

        System.out.println(result);

        sc.close();
    }
} Main public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        String result = (((a == b) && (a != c)) || ((a == c) && (a != b)) || ((b == c) && (a != b))) ? "Yes" : "No";

        System.out.println(result);

        sc.close();
    } main {

        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        String result = (((a == b) && (a != c)) || ((a == c) && (a != b)) || ((b == c) && (a != b))) ? "Yes" : "No";

        System.out.println(result);

        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) 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 String result = (((a == b) && (a != c)) || ((a == c) && (a != b)) || ((b == c) && (a != b))) ? "Yes" : "No"; result (((a == b) && (a != c)) || ((a == c) && (a != b)) || ((b == c) && (a != b))) ? "Yes" : "No" (((a == b) && (a != c)) || ((a == c) && (a != b)) || ((b == c) && (a != b))) ((a == b) && (a != c)) || ((a == c) && (a != b)) || ((b == c) && (a != b)) ((a == b) && (a != c)) (a == b) a b (a != c) a c ((a == c) && (a != b)) (a == c) a c (a != b) a b ((b == c) && (a != b)) (b == c) b c (a != b) a b "Yes" "No" System.out.println(result) System.out.println System.out System System.out result sc.close() sc.close sc String args[] args public class Main {

    public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        String result = (((a == b) && (a != c)) || ((a == c) && (a != b)) || ((b == c) && (a != b))) ? "Yes" : "No";

        System.out.println(result);

        sc.close();
    }
} public class Main {

    public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        String result = (((a == b) && (a != c)) || ((a == c) && (a != b)) || ((b == c) && (a != b))) ? "Yes" : "No";

        System.out.println(result);

        sc.close();
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String args[]) {

        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());

        String result = (((a == b) && (a != c)) || ((a == c) && (a != b)) || ((b == c) && (a != b))) ? "Yes" : "No";

        System.out.println(result);

        sc.close();
    }
}
