import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);

        int a, b, c;
        a = cin.nextInt();
        b = cin.nextInt();
        c = cin.nextInt();

        if (a == b | b == c | a == c) {
            if (a == b && b == c) {
                System.out.println("No");
            } else {
                System.out.println("Yes");
            }
        } else {
            System.out.println("No");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);

        int a, b, c;
        a = cin.nextInt();
        b = cin.nextInt();
        c = cin.nextInt();

        if (a == b | b == c | a == c) {
            if (a == b && b == c) {
                System.out.println("No");
            } else {
                System.out.println("Yes");
            }
        } else {
            System.out.println("No");
        }
    }
} Main public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);

        int a, b, c;
        a = cin.nextInt();
        b = cin.nextInt();
        c = cin.nextInt();

        if (a == b | b == c | a == c) {
            if (a == b && b == c) {
                System.out.println("No");
            } else {
                System.out.println("Yes");
            }
        } else {
            System.out.println("No");
        }
    } main {
        Scanner cin = new Scanner(System.in);

        int a, b, c;
        a = cin.nextInt();
        b = cin.nextInt();
        c = cin.nextInt();

        if (a == b | b == c | a == c) {
            if (a == b && b == c) {
                System.out.println("No");
            } else {
                System.out.println("Yes");
            }
        } else {
            System.out.println("No");
        }
    } Scanner cin = new Scanner(System.in); cin new Scanner(System.in) int a a b b c; c a = cin.nextInt() a cin.nextInt() cin.nextInt cin b = cin.nextInt() b cin.nextInt() cin.nextInt cin c = cin.nextInt() c cin.nextInt() cin.nextInt cin if (a == b | b == c | a == c) {
            if (a == b && b == c) {
                System.out.println("No");
            } else {
                System.out.println("Yes");
            }
        } else {
            System.out.println("No");
        } a == b | b == c | a == c a == b | b == c | a == c a == b a b b == c b c a == c a c {
            if (a == b && b == c) {
                System.out.println("No");
            } else {
                System.out.println("Yes");
            }
        } if (a == b && b == c) {
                System.out.println("No");
            } else {
                System.out.println("Yes");
            } a == b && b == c a == b a b b == c b c {
                System.out.println("No");
            } System.out.println("No") System.out.println System.out System System.out "No" {
                System.out.println("Yes");
            } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
            System.out.println("No");
        } 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 cin = new Scanner(System.in);

        int a, b, c;
        a = cin.nextInt();
        b = cin.nextInt();
        c = cin.nextInt();

        if (a == b | b == c | a == c) {
            if (a == b && b == c) {
                System.out.println("No");
            } else {
                System.out.println("Yes");
            }
        } else {
            System.out.println("No");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);

        int a, b, c;
        a = cin.nextInt();
        b = cin.nextInt();
        c = cin.nextInt();

        if (a == b | b == c | a == c) {
            if (a == b && b == c) {
                System.out.println("No");
            } else {
                System.out.println("Yes");
            }
        } else {
            System.out.println("No");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);

        int a, b, c;
        a = cin.nextInt();
        b = cin.nextInt();
        c = cin.nextInt();

        if (a == b | b == c | a == c) {
            if (a == b && b == c) {
                System.out.println("No");
            } else {
                System.out.println("Yes");
            }
        } else {
            System.out.println("No");
        }
    }
}
