import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();

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

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

    if (a != b ){
      if (a == c){
        System.out.println("Yes");
      }
      else{
        if (b == c){
          System.out.println("Yes");
        }
        else{
          System.out.println("No");
        }
      }
    }
    else{
      if (a == c){
        System.out.println("No");
      }
      else{
        System.out.println("Yes");
      }
    }
  } main {
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();

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

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

    if (a != b ){
      if (a == c){
        System.out.println("Yes");
      }
      else{
        if (b == c){
          System.out.println("Yes");
        }
        else{
          System.out.println("No");
        }
      }
    }
    else{
      if (a == c){
        System.out.println("No");
      }
      else{
        System.out.println("Yes");
      }
    }
  }
} Main
import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();

    if (a != b ){
      if (a == c){
        System.out.println("Yes");
      }
      else{
        if (b == c){
          System.out.println("Yes");
        }
        else{
          System.out.println("No");
        }
      }
    }
    else{
      if (a == c){
        System.out.println("No");
      }
      else{
        System.out.println("Yes");
      }
    }
  }
}
