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