import java.util.*;
public class Main {

    public static void main(String[] args) {
        Scanner  yomi = new Scanner(System.in);
        int[] n = new int[3];
        for (int i=0;i<3;i++){
            n[i] = yomi.nextInt();
        }
        if (n[0]==n[1]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[0]==n[2]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[1]==n[2]){
            System.out.println("Yes");
        }else System.out.println("No");
        }
    } import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner  yomi = new Scanner(System.in);
        int[] n = new int[3];
        for (int i=0;i<3;i++){
            n[i] = yomi.nextInt();
        }
        if (n[0]==n[1]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[0]==n[2]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[1]==n[2]){
            System.out.println("Yes");
        }else System.out.println("No");
        }
    } Main public static void main(String[] args) {
        Scanner  yomi = new Scanner(System.in);
        int[] n = new int[3];
        for (int i=0;i<3;i++){
            n[i] = yomi.nextInt();
        }
        if (n[0]==n[1]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[0]==n[2]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[1]==n[2]){
            System.out.println("Yes");
        }else System.out.println("No");
        } main {
        Scanner  yomi = new Scanner(System.in);
        int[] n = new int[3];
        for (int i=0;i<3;i++){
            n[i] = yomi.nextInt();
        }
        if (n[0]==n[1]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[0]==n[2]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[1]==n[2]){
            System.out.println("Yes");
        }else System.out.println("No");
        } Scanner  yomi = new Scanner(System.in); yomi new Scanner(System.in) int[] n = new int[3]; n new int[3] 3 for (int i=0;i<3;i++){
            n[i] = yomi.nextInt();
        } int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
            n[i] = yomi.nextInt();
        } {
            n[i] = yomi.nextInt();
        } n[i] = yomi.nextInt() n[i] n i yomi.nextInt() yomi.nextInt yomi if (n[0]==n[1]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[0]==n[2]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[1]==n[2]){
            System.out.println("Yes");
        }else System.out.println("No"); n[0]==n[1] n[0] n 0 n[1] n 1 {
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        } if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes"); n[2]==n[1] n[2] n 2 n[1] n 1 {
                System.out.println("No");
            } System.out.println("No") System.out.println System.out System System.out "No" System.out.println("Yes") System.out.println System.out System System.out "Yes" if (n[0]==n[2]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[1]==n[2]){
            System.out.println("Yes");
        }else System.out.println("No"); n[0]==n[2] n[0] n 0 n[2] n 2 {
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        } if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes"); n[2]==n[1] n[2] n 2 n[1] n 1 {
                System.out.println("No");
            } System.out.println("No") System.out.println System.out System System.out "No" System.out.println("Yes") System.out.println System.out System System.out "Yes" if (n[1]==n[2]){
            System.out.println("Yes");
        }else System.out.println("No"); n[1]==n[2] n[1] n 1 n[2] n 2 {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" 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  yomi = new Scanner(System.in);
        int[] n = new int[3];
        for (int i=0;i<3;i++){
            n[i] = yomi.nextInt();
        }
        if (n[0]==n[1]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[0]==n[2]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[1]==n[2]){
            System.out.println("Yes");
        }else System.out.println("No");
        }
    } public class Main {

    public static void main(String[] args) {
        Scanner  yomi = new Scanner(System.in);
        int[] n = new int[3];
        for (int i=0;i<3;i++){
            n[i] = yomi.nextInt();
        }
        if (n[0]==n[1]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[0]==n[2]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[1]==n[2]){
            System.out.println("Yes");
        }else System.out.println("No");
        }
    } Main
import java.util.*;
public class Main {

    public static void main(String[] args) {
        Scanner  yomi = new Scanner(System.in);
        int[] n = new int[3];
        for (int i=0;i<3;i++){
            n[i] = yomi.nextInt();
        }
        if (n[0]==n[1]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[0]==n[2]){
            if (n[2]==n[1]){
                System.out.println("No");
            }else System.out.println("Yes");
        }else if (n[1]==n[2]){
            System.out.println("Yes");
        }else System.out.println("No");
        }
    }