import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
      	int b = sc.nextInt();
      	int c = sc.nextInt();
		boolean result = true;
      
      if (a == b && a == c) {
        result = false; // すべて同じ
      } else if (a == b && a != c) {
        result = true; // cだけ違う
      } else if (a != b && b == c) {
        result = true; // aだけ違う
      } else if (a != b && b != c && a != c) {
        result = false; // abcすべて違う
      } else if (a == c && a != b) {
        result = true; // bだけ違う
      }
		System.out.println(result? "Yes": "No");
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
      	int b = sc.nextInt();
      	int c = sc.nextInt();
		boolean result = true;
      
      if (a == b && a == c) {
        result = false; // すべて同じ
      } else if (a == b && a != c) {
        result = true; // cだけ違う
      } else if (a != b && b == c) {
        result = true; // aだけ違う
      } else if (a != b && b != c && a != c) {
        result = false; // abcすべて違う
      } else if (a == c && a != b) {
        result = true; // bだけ違う
      }
		System.out.println(result? "Yes": "No");
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
      	int b = sc.nextInt();
      	int c = sc.nextInt();
		boolean result = true;
      
      if (a == b && a == c) {
        result = false; // すべて同じ
      } else if (a == b && a != c) {
        result = true; // cだけ違う
      } else if (a != b && b == c) {
        result = true; // aだけ違う
      } else if (a != b && b != c && a != c) {
        result = false; // abcすべて違う
      } else if (a == c && a != b) {
        result = true; // bだけ違う
      }
		System.out.println(result? "Yes": "No");
	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
      	int b = sc.nextInt();
      	int c = sc.nextInt();
		boolean result = true;
      
      if (a == b && a == c) {
        result = false; // すべて同じ
      } else if (a == b && a != c) {
        result = true; // cだけ違う
      } else if (a != b && b == c) {
        result = true; // aだけ違う
      } else if (a != b && b != c && a != c) {
        result = false; // abcすべて違う
      } else if (a == c && a != b) {
        result = true; // bだけ違う
      }
		System.out.println(result? "Yes": "No");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc boolean result = true; result true if (a == b && a == c) {
        result = false; // すべて同じ
      } else if (a == b && a != c) {
        result = true; // cだけ違う
      } else if (a != b && b == c) {
        result = true; // aだけ違う
      } else if (a != b && b != c && a != c) {
        result = false; // abcすべて違う
      } else if (a == c && a != b) {
        result = true; // bだけ違う
      } a == b && a == c a == b a b a == c a c {
        result = false; // すべて同じ
      } result = false result false if (a == b && a != c) {
        result = true; // cだけ違う
      } else if (a != b && b == c) {
        result = true; // aだけ違う
      } else if (a != b && b != c && a != c) {
        result = false; // abcすべて違う
      } else if (a == c && a != b) {
        result = true; // bだけ違う
      } a == b && a != c a == b a b a != c a c {
        result = true; // cだけ違う
      } result = true result true if (a != b && b == c) {
        result = true; // aだけ違う
      } else if (a != b && b != c && a != c) {
        result = false; // abcすべて違う
      } else if (a == c && a != b) {
        result = true; // bだけ違う
      } a != b && b == c a != b a b b == c b c {
        result = true; // aだけ違う
      } result = true result true if (a != b && b != c && a != c) {
        result = false; // abcすべて違う
      } else if (a == c && a != b) {
        result = true; // bだけ違う
      } a != b && b != c && a != c a != b && b != c && a != c a != b a b b != c b c a != c a c {
        result = false; // abcすべて違う
      } result = false result false if (a == c && a != b) {
        result = true; // bだけ違う
      } a == c && a != b a == c a c a != b a b {
        result = true; // bだけ違う
      } result = true result true System.out.println(result? "Yes": "No") System.out.println System.out System System.out result? "Yes": "No" result "Yes" "No" String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
      	int b = sc.nextInt();
      	int c = sc.nextInt();
		boolean result = true;
      
      if (a == b && a == c) {
        result = false; // すべて同じ
      } else if (a == b && a != c) {
        result = true; // cだけ違う
      } else if (a != b && b == c) {
        result = true; // aだけ違う
      } else if (a != b && b != c && a != c) {
        result = false; // abcすべて違う
      } else if (a == c && a != b) {
        result = true; // bだけ違う
      }
		System.out.println(result? "Yes": "No");
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
      	int b = sc.nextInt();
      	int c = sc.nextInt();
		boolean result = true;
      
      if (a == b && a == c) {
        result = false; // すべて同じ
      } else if (a == b && a != c) {
        result = true; // cだけ違う
      } else if (a != b && b == c) {
        result = true; // aだけ違う
      } else if (a != b && b != c && a != c) {
        result = false; // abcすべて違う
      } else if (a == c && a != b) {
        result = true; // bだけ違う
      }
		System.out.println(result? "Yes": "No");
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
      	int b = sc.nextInt();
      	int c = sc.nextInt();
		boolean result = true;
      
      if (a == b && a == c) {
        result = false; // すべて同じ
      } else if (a == b && a != c) {
        result = true; // cだけ違う
      } else if (a != b && b == c) {
        result = true; // aだけ違う
      } else if (a != b && b != c && a != c) {
        result = false; // abcすべて違う
      } else if (a == c && a != b) {
        result = true; // bだけ違う
      }
		System.out.println(result? "Yes": "No");
	}
}