#include <bits/stdc++.h>
using namespace std;
 
int main() {
 int a,b,c;
  cin >> a >> b >> c;
  if (a == b == c) {
    cout << c;
  }
  else if (a == b) {
    cout << c;
  }
  else if (b == c) {
    cout << a;
  }
  else if (a == c) {
    cout << b;
  }
  else {
    cout << 0;
  }
}
  
#include<iostream>
#include<math.h>
using namespace std;
int main() {
	float R, X, Y;
	cin >> R >> X >> Y;
	float d = sqrt(X * X + Y * Y);
	int a = ceil(d / R);
	if (d < R) cout << 2 << endl;
	else cout << a << endl;
}