

public class Main {
	public static void main(String args[]) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();
		boolean f = false;

		if (A == B) {
			if (A != C) {
				f = true;
			}
		} else if (A == C) {
			if (A != B) {
				f = true;
			}
		} else if (B == C) {
			if (A != C) {
				f = true;
			}
		}

		if (f) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}


	}
} public class Main {
	public static void main(String args[]) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();
		boolean f = false;

		if (A == B) {
			if (A != C) {
				f = true;
			}
		} else if (A == C) {
			if (A != B) {
				f = true;
			}
		} else if (B == C) {
			if (A != C) {
				f = true;
			}
		}

		if (f) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}


	}
} Main public static void main(String args[]) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();
		boolean f = false;

		if (A == B) {
			if (A != C) {
				f = true;
			}
		} else if (A == C) {
			if (A != B) {
				f = true;
			}
		} else if (B == C) {
			if (A != C) {
				f = true;
			}
		}

		if (f) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}


	} main {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();
		boolean f = false;

		if (A == B) {
			if (A != C) {
				f = true;
			}
		} else if (A == C) {
			if (A != B) {
				f = true;
			}
		} else if (B == C) {
			if (A != C) {
				f = true;
			}
		}

		if (f) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}


	} java.util.Scanner sc = new java.util.Scanner(System.in); sc new java.util.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 f = false; f false if (A == B) {
			if (A != C) {
				f = true;
			}
		} else if (A == C) {
			if (A != B) {
				f = true;
			}
		} else if (B == C) {
			if (A != C) {
				f = true;
			}
		} A == B A B {
			if (A != C) {
				f = true;
			}
		} if (A != C) {
				f = true;
			} A != C A C {
				f = true;
			} f = true f true if (A == C) {
			if (A != B) {
				f = true;
			}
		} else if (B == C) {
			if (A != C) {
				f = true;
			}
		} A == C A C {
			if (A != B) {
				f = true;
			}
		} if (A != B) {
				f = true;
			} A != B A B {
				f = true;
			} f = true f true if (B == C) {
			if (A != C) {
				f = true;
			}
		} B == C B C {
			if (A != C) {
				f = true;
			}
		} if (A != C) {
				f = true;
			} A != C A C {
				f = true;
			} f = true f true if (f) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		} f {
			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[]) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();
		boolean f = false;

		if (A == B) {
			if (A != C) {
				f = true;
			}
		} else if (A == C) {
			if (A != B) {
				f = true;
			}
		} else if (B == C) {
			if (A != C) {
				f = true;
			}
		}

		if (f) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}


	}
} public class Main {
	public static void main(String args[]) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();
		boolean f = false;

		if (A == B) {
			if (A != C) {
				f = true;
			}
		} else if (A == C) {
			if (A != B) {
				f = true;
			}
		} else if (B == C) {
			if (A != C) {
				f = true;
			}
		}

		if (f) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}


	}
} Main


public class Main {
	public static void main(String args[]) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		int A = sc.nextInt();
		int B = sc.nextInt();
		int C = sc.nextInt();
		boolean f = false;

		if (A == B) {
			if (A != C) {
				f = true;
			}
		} else if (A == C) {
			if (A != B) {
				f = true;
			}
		} else if (B == C) {
			if (A != C) {
				f = true;
			}
		}

		if (f) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}


	}
}
