import java.util.*;
import java.io.*;
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      }
      
      public static String solve(Scanner in) {
        int A= in.nextInt();
        int B = in.nextInt();
        int C= in.nextInt();

        Map<Integer, Integer> checker = new HashMap<>();
        checker.put(A, checker.getOrDefault(A, 0) + 1);
        checker.put(B, checker.getOrDefault(B, 0) + 1);
        checker.put(C, checker.getOrDefault(C, 0) + 1);

        for (int c: checker.keySet()) {
            if (checker.get(c) == 2) return "Yes";
        }
        return "No";
      }
      
    
} import java.util.*; util.* java import java.io.*; io.* java public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      }
      
      public static String solve(Scanner in) {
        int A= in.nextInt();
        int B = in.nextInt();
        int C= in.nextInt();

        Map<Integer, Integer> checker = new HashMap<>();
        checker.put(A, checker.getOrDefault(A, 0) + 1);
        checker.put(B, checker.getOrDefault(B, 0) + 1);
        checker.put(C, checker.getOrDefault(C, 0) + 1);

        for (int c: checker.keySet()) {
            if (checker.get(c) == 2) return "Yes";
        }
        return "No";
      }
      
    
} Main public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      } main {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      } Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); in new Scanner(new BufferedReader(new InputStreamReader(System.in))) System.out.println(solve(in)) System.out.println System.out System System.out solve(in) solve in String[] args args public static String solve(Scanner in) {
        int A= in.nextInt();
        int B = in.nextInt();
        int C= in.nextInt();

        Map<Integer, Integer> checker = new HashMap<>();
        checker.put(A, checker.getOrDefault(A, 0) + 1);
        checker.put(B, checker.getOrDefault(B, 0) + 1);
        checker.put(C, checker.getOrDefault(C, 0) + 1);

        for (int c: checker.keySet()) {
            if (checker.get(c) == 2) return "Yes";
        }
        return "No";
      } solve {
        int A= in.nextInt();
        int B = in.nextInt();
        int C= in.nextInt();

        Map<Integer, Integer> checker = new HashMap<>();
        checker.put(A, checker.getOrDefault(A, 0) + 1);
        checker.put(B, checker.getOrDefault(B, 0) + 1);
        checker.put(C, checker.getOrDefault(C, 0) + 1);

        for (int c: checker.keySet()) {
            if (checker.get(c) == 2) return "Yes";
        }
        return "No";
      } int A= in.nextInt(); A in.nextInt() in.nextInt in int B = in.nextInt(); B in.nextInt() in.nextInt in int C= in.nextInt(); C in.nextInt() in.nextInt in Map<Integer, Integer> checker = new HashMap<>(); checker new HashMap<>() checker.put(A, checker.getOrDefault(A, 0) + 1) checker.put checker A checker.getOrDefault(A, 0) + 1 checker.getOrDefault(A, 0) checker.getOrDefault checker A 0 1 checker.put(B, checker.getOrDefault(B, 0) + 1) checker.put checker B checker.getOrDefault(B, 0) + 1 checker.getOrDefault(B, 0) checker.getOrDefault checker B 0 1 checker.put(C, checker.getOrDefault(C, 0) + 1) checker.put checker C checker.getOrDefault(C, 0) + 1 checker.getOrDefault(C, 0) checker.getOrDefault checker C 0 1 for (int c: checker.keySet()) {
            if (checker.get(c) == 2) return "Yes";
        } int c checker.keySet() checker.keySet checker {
            if (checker.get(c) == 2) return "Yes";
        } {
            if (checker.get(c) == 2) return "Yes";
        } if (checker.get(c) == 2) return "Yes"; checker.get(c) == 2 checker.get(c) checker.get checker c 2 return "Yes"; "Yes" return "No"; "No" Scanner in in public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      }
      
      public static String solve(Scanner in) {
        int A= in.nextInt();
        int B = in.nextInt();
        int C= in.nextInt();

        Map<Integer, Integer> checker = new HashMap<>();
        checker.put(A, checker.getOrDefault(A, 0) + 1);
        checker.put(B, checker.getOrDefault(B, 0) + 1);
        checker.put(C, checker.getOrDefault(C, 0) + 1);

        for (int c: checker.keySet()) {
            if (checker.get(c) == 2) return "Yes";
        }
        return "No";
      }
      
    
} public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      }
      
      public static String solve(Scanner in) {
        int A= in.nextInt();
        int B = in.nextInt();
        int C= in.nextInt();

        Map<Integer, Integer> checker = new HashMap<>();
        checker.put(A, checker.getOrDefault(A, 0) + 1);
        checker.put(B, checker.getOrDefault(B, 0) + 1);
        checker.put(C, checker.getOrDefault(C, 0) + 1);

        for (int c: checker.keySet()) {
            if (checker.get(c) == 2) return "Yes";
        }
        return "No";
      }
      
    
} Main
import java.util.*;
import java.io.*;
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        System.out.println(solve(in));
        
      }
      
      public static String solve(Scanner in) {
        int A= in.nextInt();
        int B = in.nextInt();
        int C= in.nextInt();

        Map<Integer, Integer> checker = new HashMap<>();
        checker.put(A, checker.getOrDefault(A, 0) + 1);
        checker.put(B, checker.getOrDefault(B, 0) + 1);
        checker.put(C, checker.getOrDefault(C, 0) + 1);

        for (int c: checker.keySet()) {
            if (checker.get(c) == 2) return "Yes";
        }
        return "No";
      }
      
    
}