import java.io.*;
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
//        sc.useDelimiter(",");
//        DecimalFormat df = new DecimalFormat("0.00000000");
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        boolean isPoor = false;
        if ((a == b && a != c)
                || (a == c && a != b)
                || (b == c && a != b)) {
            isPoor = true;
        }
        out.println(isPoor ? "Yes" : "No");
        out.flush();
    }
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
//        sc.useDelimiter(",");
//        DecimalFormat df = new DecimalFormat("0.00000000");
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        boolean isPoor = false;
        if ((a == b && a != c)
                || (a == c && a != b)
                || (b == c && a != b)) {
            isPoor = true;
        }
        out.println(isPoor ? "Yes" : "No");
        out.flush();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
//        sc.useDelimiter(",");
//        DecimalFormat df = new DecimalFormat("0.00000000");
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        boolean isPoor = false;
        if ((a == b && a != c)
                || (a == c && a != b)
                || (b == c && a != b)) {
            isPoor = true;
        }
        out.println(isPoor ? "Yes" : "No");
        out.flush();
    } main {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
//        sc.useDelimiter(",");
//        DecimalFormat df = new DecimalFormat("0.00000000");
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        boolean isPoor = false;
        if ((a == b && a != c)
                || (a == c && a != b)
                || (b == c && a != b)) {
            isPoor = true;
        }
        out.println(isPoor ? "Yes" : "No");
        out.flush();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) 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 boolean isPoor = false; isPoor false if ((a == b && a != c)
                || (a == c && a != b)
                || (b == c && a != b)) {
            isPoor = true;
        } (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 {
            isPoor = true;
        } isPoor = true isPoor true out.println(isPoor ? "Yes" : "No") out.println out isPoor ? "Yes" : "No" isPoor "Yes" "No" out.flush() out.flush out String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
//        sc.useDelimiter(",");
//        DecimalFormat df = new DecimalFormat("0.00000000");
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        boolean isPoor = false;
        if ((a == b && a != c)
                || (a == c && a != b)
                || (b == c && a != b)) {
            isPoor = true;
        }
        out.println(isPoor ? "Yes" : "No");
        out.flush();
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
//        sc.useDelimiter(",");
//        DecimalFormat df = new DecimalFormat("0.00000000");
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        boolean isPoor = false;
        if ((a == b && a != c)
                || (a == c && a != b)
                || (b == c && a != b)) {
            isPoor = true;
        }
        out.println(isPoor ? "Yes" : "No");
        out.flush();
    }
} Main
import java.io.*;
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        PrintWriter out = new PrintWriter(System.out);
//        sc.useDelimiter(",");
//        DecimalFormat df = new DecimalFormat("0.00000000");
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        int c = Integer.parseInt(sc.next());
        boolean isPoor = false;
        if ((a == b && a != c)
                || (a == c && a != b)
                || (b == c && a != b)) {
            isPoor = true;
        }
        out.println(isPoor ? "Yes" : "No");
        out.flush();
    }
}