import java.util.Scanner;

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

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