#include using namespace std; using ll = long long; int main(){ int a, b, c, x, y; cin >> a >> b >> c; x = (a*b+b*c+c*a) * 2; y = a*b*c; cout << (x > y ? 2 : 3) << endl; return 0; }