#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<int> vec;
  cin >> vec.at(0) >> vec.at(1) >> vec.at(2);
  sort(vec.begin(), vec.end());
  bool res = false;
  if (vec.at(0) + vec.at(1) == vec.at(2)) res = true;
  if (vec.at(0) == vec.at(1) + vec.at(2)) res = true;
  cout << res << endl;
  return 0;
}
