
import java.util.Scanner;

public class Main {

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

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int a = Integer.parseInt(s.next());
        int b = Integer.parseInt(s.next());
        int c = Integer.parseInt(s.next());
        if (a == b) {
            if (b == c) {
                // No
                System.out.println("No");
            } else {
                // Yes
                System.out.println("Yes");
            }
        } else {
            if (a == c || b == c) {
                // Yes
                System.out.println("Yes");
            } else {
                System.out.println("No");
                // No
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int a = Integer.parseInt(s.next());
        int b = Integer.parseInt(s.next());
        int c = Integer.parseInt(s.next());
        if (a == b) {
            if (b == c) {
                // No
                System.out.println("No");
            } else {
                // Yes
                System.out.println("Yes");
            }
        } else {
            if (a == c || b == c) {
                // Yes
                System.out.println("Yes");
            } else {
                System.out.println("No");
                // No
            }
        }
    } main {
        Scanner s = new Scanner(System.in);
        int a = Integer.parseInt(s.next());
        int b = Integer.parseInt(s.next());
        int c = Integer.parseInt(s.next());
        if (a == b) {
            if (b == c) {
                // No
                System.out.println("No");
            } else {
                // Yes
                System.out.println("Yes");
            }
        } else {
            if (a == c || b == c) {
                // Yes
                System.out.println("Yes");
            } else {
                System.out.println("No");
                // No
            }
        }
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int a = Integer.parseInt(s.next()); a Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s int b = Integer.parseInt(s.next()); b Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s int c = Integer.parseInt(s.next()); c Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s if (a == b) {
            if (b == c) {
                // No
                System.out.println("No");
            } else {
                // Yes
                System.out.println("Yes");
            }
        } else {
            if (a == c || b == c) {
                // Yes
                System.out.println("Yes");
            } else {
                System.out.println("No");
                // No
            }
        } a == b a b {
            if (b == c) {
                // No
                System.out.println("No");
            } else {
                // Yes
                System.out.println("Yes");
            }
        } if (b == c) {
                // No
                System.out.println("No");
            } else {
                // Yes
                System.out.println("Yes");
            } b == c b c {
                // No
                System.out.println("No");
            } System.out.println("No") System.out.println System.out System System.out "No" {
                // Yes
                System.out.println("Yes");
            } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
            if (a == c || b == c) {
                // Yes
                System.out.println("Yes");
            } else {
                System.out.println("No");
                // No
            }
        } if (a == c || b == c) {
                // Yes
                System.out.println("Yes");
            } else {
                System.out.println("No");
                // No
            } a == c || b == c a == c a c b == c b c {
                // Yes
                System.out.println("Yes");
            } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
                System.out.println("No");
                // 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 s = new Scanner(System.in);
        int a = Integer.parseInt(s.next());
        int b = Integer.parseInt(s.next());
        int c = Integer.parseInt(s.next());
        if (a == b) {
            if (b == c) {
                // No
                System.out.println("No");
            } else {
                // Yes
                System.out.println("Yes");
            }
        } else {
            if (a == c || b == c) {
                // Yes
                System.out.println("Yes");
            } else {
                System.out.println("No");
                // No
            }
        }
    }
} public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int a = Integer.parseInt(s.next());
        int b = Integer.parseInt(s.next());
        int c = Integer.parseInt(s.next());
        if (a == b) {
            if (b == c) {
                // No
                System.out.println("No");
            } else {
                // Yes
                System.out.println("Yes");
            }
        } else {
            if (a == c || b == c) {
                // Yes
                System.out.println("Yes");
            } else {
                System.out.println("No");
                // No
            }
        }
    }
} Main

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int a = Integer.parseInt(s.next());
        int b = Integer.parseInt(s.next());
        int c = Integer.parseInt(s.next());
        if (a == b) {
            if (b == c) {
                // No
                System.out.println("No");
            } else {
                // Yes
                System.out.println("Yes");
            }
        } else {
            if (a == c || b == c) {
                // Yes
                System.out.println("Yes");
            } else {
                System.out.println("No");
                // No
            }
        }
    }
}