import java.util.Scanner;

//AtCoder Beginner Contest 155
//A	Poor
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();

		String ans = "No";
		if (A == B) {
			if (A != C) {
				ans = "Yes";
			}
		} else if (A == C) {
			if (A != B) {
				ans = "Yes";
			}
		} else if (B == C) {
			if (A != B) {
				ans = "Yes";
			}
		}
		System.out.println(ans);
	}
} 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();

		String ans = "No";
		if (A == B) {
			if (A != C) {
				ans = "Yes";
			}
		} else if (A == C) {
			if (A != B) {
				ans = "Yes";
			}
		} else if (B == C) {
			if (A != B) {
				ans = "Yes";
			}
		}
		System.out.println(ans);
	}
} 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();

		String ans = "No";
		if (A == B) {
			if (A != C) {
				ans = "Yes";
			}
		} else if (A == C) {
			if (A != B) {
				ans = "Yes";
			}
		} else if (B == C) {
			if (A != B) {
				ans = "Yes";
			}
		}
		System.out.println(ans);
	} 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();

		String ans = "No";
		if (A == B) {
			if (A != C) {
				ans = "Yes";
			}
		} else if (A == C) {
			if (A != B) {
				ans = "Yes";
			}
		} else if (B == C) {
			if (A != B) {
				ans = "Yes";
			}
		}
		System.out.println(ans);
	} 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 String ans = "No"; ans "No" if (A == B) {
			if (A != C) {
				ans = "Yes";
			}
		} else if (A == C) {
			if (A != B) {
				ans = "Yes";
			}
		} else if (B == C) {
			if (A != B) {
				ans = "Yes";
			}
		} A == B A B {
			if (A != C) {
				ans = "Yes";
			}
		} if (A != C) {
				ans = "Yes";
			} A != C A C {
				ans = "Yes";
			} ans = "Yes" ans "Yes" if (A == C) {
			if (A != B) {
				ans = "Yes";
			}
		} else if (B == C) {
			if (A != B) {
				ans = "Yes";
			}
		} A == C A C {
			if (A != B) {
				ans = "Yes";
			}
		} if (A != B) {
				ans = "Yes";
			} A != B A B {
				ans = "Yes";
			} ans = "Yes" ans "Yes" if (B == C) {
			if (A != B) {
				ans = "Yes";
			}
		} B == C B C {
			if (A != B) {
				ans = "Yes";
			}
		} if (A != B) {
				ans = "Yes";
			} A != B A B {
				ans = "Yes";
			} ans = "Yes" ans "Yes" System.out.println(ans) System.out.println System.out System System.out ans 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();

		String ans = "No";
		if (A == B) {
			if (A != C) {
				ans = "Yes";
			}
		} else if (A == C) {
			if (A != B) {
				ans = "Yes";
			}
		} else if (B == C) {
			if (A != B) {
				ans = "Yes";
			}
		}
		System.out.println(ans);
	}
} 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();

		String ans = "No";
		if (A == B) {
			if (A != C) {
				ans = "Yes";
			}
		} else if (A == C) {
			if (A != B) {
				ans = "Yes";
			}
		} else if (B == C) {
			if (A != B) {
				ans = "Yes";
			}
		}
		System.out.println(ans);
	}
} Main
import java.util.Scanner;

//AtCoder Beginner Contest 155
//A	Poor
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();

		String ans = "No";
		if (A == B) {
			if (A != C) {
				ans = "Yes";
			}
		} else if (A == C) {
			if (A != B) {
				ans = "Yes";
			}
		} else if (B == C) {
			if (A != B) {
				ans = "Yes";
			}
		}
		System.out.println(ans);
	}
}
