import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = Integer.parseInt(sc.next());
		int B = Integer.parseInt(sc.next());
		int C = Integer.parseInt(sc.next());
		sc.close();
		if(A == B) {
			if(A == C) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(B == C) {
			if(B == A) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(C == A) {
			if(C == B) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else {
			System.out.println("No");
		}
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = Integer.parseInt(sc.next());
		int B = Integer.parseInt(sc.next());
		int C = Integer.parseInt(sc.next());
		sc.close();
		if(A == B) {
			if(A == C) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(B == C) {
			if(B == A) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(C == A) {
			if(C == B) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else {
			System.out.println("No");
		}
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = Integer.parseInt(sc.next());
		int B = Integer.parseInt(sc.next());
		int C = Integer.parseInt(sc.next());
		sc.close();
		if(A == B) {
			if(A == C) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(B == C) {
			if(B == A) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(C == A) {
			if(C == B) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else {
			System.out.println("No");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int A = Integer.parseInt(sc.next());
		int B = Integer.parseInt(sc.next());
		int C = Integer.parseInt(sc.next());
		sc.close();
		if(A == B) {
			if(A == C) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(B == C) {
			if(B == A) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(C == A) {
			if(C == B) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else {
			System.out.println("No");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int A = Integer.parseInt(sc.next()); A Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int B = Integer.parseInt(sc.next()); B Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int C = Integer.parseInt(sc.next()); C Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc sc.close() sc.close sc if(A == B) {
			if(A == C) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(B == C) {
			if(B == A) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(C == A) {
			if(C == B) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else {
			System.out.println("No");
		} A == B A B {
			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" if(B == C) {
			if(B == A) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(C == A) {
			if(C == B) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else {
			System.out.println("No");
		} B == C B C {
			if(B == A) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		} if(B == A) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			} B == A B A {
				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(C == A) {
			if(C == B) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else {
			System.out.println("No");
		} C == A C A {
			if(C == B) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		} if(C == B) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			} C == B C 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 public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = Integer.parseInt(sc.next());
		int B = Integer.parseInt(sc.next());
		int C = Integer.parseInt(sc.next());
		sc.close();
		if(A == B) {
			if(A == C) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(B == C) {
			if(B == A) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(C == A) {
			if(C == B) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else {
			System.out.println("No");
		}
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = Integer.parseInt(sc.next());
		int B = Integer.parseInt(sc.next());
		int C = Integer.parseInt(sc.next());
		sc.close();
		if(A == B) {
			if(A == C) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(B == C) {
			if(B == A) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(C == A) {
			if(C == B) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else {
			System.out.println("No");
		}
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = Integer.parseInt(sc.next());
		int B = Integer.parseInt(sc.next());
		int C = Integer.parseInt(sc.next());
		sc.close();
		if(A == B) {
			if(A == C) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(B == C) {
			if(B == A) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else if(C == A) {
			if(C == B) {
				System.out.println("No");
			}else {
				System.out.println("Yes");
			}
		}else {
			System.out.println("No");
		}
	}

}