
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String line = scanner.nextLine();
        String[] values = line.split(" ");
        String a = values[0];
        String b = values[1];
        String c = values[2];
        if (a.equals(b) && a.equals(c)) {
            System.out.println("No");
        } else {
            if (a.equals(b) || a.equals(c) || b.equals(c)) {
                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 scanner = new Scanner(System.in);
        String line = scanner.nextLine();
        String[] values = line.split(" ");
        String a = values[0];
        String b = values[1];
        String c = values[2];
        if (a.equals(b) && a.equals(c)) {
            System.out.println("No");
        } else {
            if (a.equals(b) || a.equals(c) || b.equals(c)) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String line = scanner.nextLine();
        String[] values = line.split(" ");
        String a = values[0];
        String b = values[1];
        String c = values[2];
        if (a.equals(b) && a.equals(c)) {
            System.out.println("No");
        } else {
            if (a.equals(b) || a.equals(c) || b.equals(c)) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    } main {
        Scanner scanner = new Scanner(System.in);
        String line = scanner.nextLine();
        String[] values = line.split(" ");
        String a = values[0];
        String b = values[1];
        String c = values[2];
        if (a.equals(b) && a.equals(c)) {
            System.out.println("No");
        } else {
            if (a.equals(b) || a.equals(c) || b.equals(c)) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String line = scanner.nextLine(); line scanner.nextLine() scanner.nextLine scanner String[] values = line.split(" "); values line.split(" ") line.split line " " String a = values[0]; a values[0] values 0 String b = values[1]; b values[1] values 1 String c = values[2]; c values[2] values 2 if (a.equals(b) && a.equals(c)) {
            System.out.println("No");
        } else {
            if (a.equals(b) || a.equals(c) || b.equals(c)) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } a.equals(b) && a.equals(c) a.equals(b) a.equals a b a.equals(c) a.equals a c {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" {
            if (a.equals(b) || a.equals(c) || b.equals(c)) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        } if (a.equals(b) || a.equals(c) || b.equals(c)) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            } a.equals(b) || a.equals(c) || b.equals(c) a.equals(b) || a.equals(c) || b.equals(c) a.equals(b) a.equals a b a.equals(c) a.equals a c b.equals(c) b.equals b c {
                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 scanner = new Scanner(System.in);
        String line = scanner.nextLine();
        String[] values = line.split(" ");
        String a = values[0];
        String b = values[1];
        String c = values[2];
        if (a.equals(b) && a.equals(c)) {
            System.out.println("No");
        } else {
            if (a.equals(b) || a.equals(c) || b.equals(c)) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String line = scanner.nextLine();
        String[] values = line.split(" ");
        String a = values[0];
        String b = values[1];
        String c = values[2];
        if (a.equals(b) && a.equals(c)) {
            System.out.println("No");
        } else {
            if (a.equals(b) || a.equals(c) || b.equals(c)) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    }
} Main

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String line = scanner.nextLine();
        String[] values = line.split(" ");
        String a = values[0];
        String b = values[1];
        String c = values[2];
        if (a.equals(b) && a.equals(c)) {
            System.out.println("No");
        } else {
            if (a.equals(b) || a.equals(c) || b.equals(c)) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    }
}