#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
using dd = long double;
const ll MOD = 1e9 + 7;
vector<string> dfs(string s, ll depth, vector<char> symbol) {
  vector<string> ret;
  if (depth == 0) {
    ret.push_back(s);
    return ret;
  }
  for (ll i = 0; i < symbol.size(); i++) {
    auto vec = dfs(s + symbol[i], depth - 1, symbol);
    for (auto &&e : vec) {
      ret.push_back(e);
    }
  }
  return ret;
}
ll gcd(ll a, ll b) {
  if (a % b == 0) {
    return b;
  }
  return gcd(b, a % b);
}
int main() {
  map<ll, ll> mp;
  for (ll i = 0; i < 3; i++) {
    ll ai;
    cin >> ai;
    mp[ai] += 1;
  }
  bool ok = false;
  for (auto &&e : mp) {
    if (e.second >= 2) {
      ok = true;
    }
  }
  if (ok) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
