import java.io.*;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String[] arr = reader.readLine().split(" ");
        int A = Integer.parseInt(arr[0]);
        int B = Integer.parseInt(arr[1]);
        int C = Integer.parseInt(arr[2]);
        boolean flg = false;
        if (A == B && B != C)
            flg = true;
        if (B == C && C != A)
            flg = true;
        if (C == A && A != B)
            flg = true;
        System.out.println(flg ? "Yes" : "No");
    }
} import java.io.*; io.* java public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String[] arr = reader.readLine().split(" ");
        int A = Integer.parseInt(arr[0]);
        int B = Integer.parseInt(arr[1]);
        int C = Integer.parseInt(arr[2]);
        boolean flg = false;
        if (A == B && B != C)
            flg = true;
        if (B == C && C != A)
            flg = true;
        if (C == A && A != B)
            flg = true;
        System.out.println(flg ? "Yes" : "No");
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String[] arr = reader.readLine().split(" ");
        int A = Integer.parseInt(arr[0]);
        int B = Integer.parseInt(arr[1]);
        int C = Integer.parseInt(arr[2]);
        boolean flg = false;
        if (A == B && B != C)
            flg = true;
        if (B == C && C != A)
            flg = true;
        if (C == A && A != B)
            flg = true;
        System.out.println(flg ? "Yes" : "No");
    } main {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String[] arr = reader.readLine().split(" ");
        int A = Integer.parseInt(arr[0]);
        int B = Integer.parseInt(arr[1]);
        int C = Integer.parseInt(arr[2]);
        boolean flg = false;
        if (A == B && B != C)
            flg = true;
        if (B == C && C != A)
            flg = true;
        if (C == A && A != B)
            flg = true;
        System.out.println(flg ? "Yes" : "No");
    } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String[] arr = reader.readLine().split(" "); arr reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " int A = Integer.parseInt(arr[0]); A Integer.parseInt(arr[0]) Integer.parseInt Integer arr[0] arr 0 int B = Integer.parseInt(arr[1]); B Integer.parseInt(arr[1]) Integer.parseInt Integer arr[1] arr 1 int C = Integer.parseInt(arr[2]); C Integer.parseInt(arr[2]) Integer.parseInt Integer arr[2] arr 2 boolean flg = false; flg false if (A == B && B != C)
            flg = true; A == B && B != C A == B A B B != C B C flg = true flg true if (B == C && C != A)
            flg = true; B == C && C != A B == C B C C != A C A flg = true flg true if (C == A && A != B)
            flg = true; C == A && A != B C == A C A A != B A B flg = true flg true System.out.println(flg ? "Yes" : "No") System.out.println System.out System System.out flg ? "Yes" : "No" flg "Yes" "No" String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String[] arr = reader.readLine().split(" ");
        int A = Integer.parseInt(arr[0]);
        int B = Integer.parseInt(arr[1]);
        int C = Integer.parseInt(arr[2]);
        boolean flg = false;
        if (A == B && B != C)
            flg = true;
        if (B == C && C != A)
            flg = true;
        if (C == A && A != B)
            flg = true;
        System.out.println(flg ? "Yes" : "No");
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String[] arr = reader.readLine().split(" ");
        int A = Integer.parseInt(arr[0]);
        int B = Integer.parseInt(arr[1]);
        int C = Integer.parseInt(arr[2]);
        boolean flg = false;
        if (A == B && B != C)
            flg = true;
        if (B == C && C != A)
            flg = true;
        if (C == A && A != B)
            flg = true;
        System.out.println(flg ? "Yes" : "No");
    }
} Main
import java.io.*;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String[] arr = reader.readLine().split(" ");
        int A = Integer.parseInt(arr[0]);
        int B = Integer.parseInt(arr[1]);
        int C = Integer.parseInt(arr[2]);
        boolean flg = false;
        if (A == B && B != C)
            flg = true;
        if (B == C && C != A)
            flg = true;
        if (C == A && A != B)
            flg = true;
        System.out.println(flg ? "Yes" : "No");
    }
}
