import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        String data = sc.nextLine();
        
        String[] array = data.split(" ");
        int a = Integer.parseInt(array[0]);
        int b = Integer.parseInt(array[1]);
        int c = Integer.parseInt(array[2]);
        
        String result = "";
        
        if(a == b && b != c)
        {
            result = "Yes";
        }
        else if(b == c && c != a)
        {
            result = "Yes";
        }
        else if(c == a && a != b)
        {
            result = "Yes";
        }
        else
        {
            result = "No";
        }
        
        System.out.println(result);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        String data = sc.nextLine();
        
        String[] array = data.split(" ");
        int a = Integer.parseInt(array[0]);
        int b = Integer.parseInt(array[1]);
        int c = Integer.parseInt(array[2]);
        
        String result = "";
        
        if(a == b && b != c)
        {
            result = "Yes";
        }
        else if(b == c && c != a)
        {
            result = "Yes";
        }
        else if(c == a && a != b)
        {
            result = "Yes";
        }
        else
        {
            result = "No";
        }
        
        System.out.println(result);
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        String data = sc.nextLine();
        
        String[] array = data.split(" ");
        int a = Integer.parseInt(array[0]);
        int b = Integer.parseInt(array[1]);
        int c = Integer.parseInt(array[2]);
        
        String result = "";
        
        if(a == b && b != c)
        {
            result = "Yes";
        }
        else if(b == c && c != a)
        {
            result = "Yes";
        }
        else if(c == a && a != b)
        {
            result = "Yes";
        }
        else
        {
            result = "No";
        }
        
        System.out.println(result);
    } main {
        Scanner sc = new Scanner(System.in);
        String data = sc.nextLine();
        
        String[] array = data.split(" ");
        int a = Integer.parseInt(array[0]);
        int b = Integer.parseInt(array[1]);
        int c = Integer.parseInt(array[2]);
        
        String result = "";
        
        if(a == b && b != c)
        {
            result = "Yes";
        }
        else if(b == c && c != a)
        {
            result = "Yes";
        }
        else if(c == a && a != b)
        {
            result = "Yes";
        }
        else
        {
            result = "No";
        }
        
        System.out.println(result);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String data = sc.nextLine(); data sc.nextLine() sc.nextLine sc String[] array = data.split(" "); array data.split(" ") data.split data " " int a = Integer.parseInt(array[0]); a Integer.parseInt(array[0]) Integer.parseInt Integer array[0] array 0 int b = Integer.parseInt(array[1]); b Integer.parseInt(array[1]) Integer.parseInt Integer array[1] array 1 int c = Integer.parseInt(array[2]); c Integer.parseInt(array[2]) Integer.parseInt Integer array[2] array 2 String result = ""; result "" if(a == b && b != c)
        {
            result = "Yes";
        }
        else if(b == c && c != a)
        {
            result = "Yes";
        }
        else if(c == a && a != b)
        {
            result = "Yes";
        }
        else
        {
            result = "No";
        } a == b && b != c a == b a b b != c b c {
            result = "Yes";
        } result = "Yes" result "Yes" if(b == c && c != a)
        {
            result = "Yes";
        }
        else if(c == a && a != b)
        {
            result = "Yes";
        }
        else
        {
            result = "No";
        } b == c && c != a b == c b c c != a c a {
            result = "Yes";
        } result = "Yes" result "Yes" if(c == a && a != b)
        {
            result = "Yes";
        }
        else
        {
            result = "No";
        } c == a && a != b c == a c a a != b a b {
            result = "Yes";
        } result = "Yes" result "Yes" {
            result = "No";
        } result = "No" result "No" System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        String data = sc.nextLine();
        
        String[] array = data.split(" ");
        int a = Integer.parseInt(array[0]);
        int b = Integer.parseInt(array[1]);
        int c = Integer.parseInt(array[2]);
        
        String result = "";
        
        if(a == b && b != c)
        {
            result = "Yes";
        }
        else if(b == c && c != a)
        {
            result = "Yes";
        }
        else if(c == a && a != b)
        {
            result = "Yes";
        }
        else
        {
            result = "No";
        }
        
        System.out.println(result);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        String data = sc.nextLine();
        
        String[] array = data.split(" ");
        int a = Integer.parseInt(array[0]);
        int b = Integer.parseInt(array[1]);
        int c = Integer.parseInt(array[2]);
        
        String result = "";
        
        if(a == b && b != c)
        {
            result = "Yes";
        }
        else if(b == c && c != a)
        {
            result = "Yes";
        }
        else if(c == a && a != b)
        {
            result = "Yes";
        }
        else
        {
            result = "No";
        }
        
        System.out.println(result);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        String data = sc.nextLine();
        
        String[] array = data.split(" ");
        int a = Integer.parseInt(array[0]);
        int b = Integer.parseInt(array[1]);
        int c = Integer.parseInt(array[2]);
        
        String result = "";
        
        if(a == b && b != c)
        {
            result = "Yes";
        }
        else if(b == c && c != a)
        {
            result = "Yes";
        }
        else if(c == a && a != b)
        {
            result = "Yes";
        }
        else
        {
            result = "No";
        }
        
        System.out.println(result);
    }
}
