import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

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

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