#include using namespace std; using ll = long long; const ll INF = (1LL << 60); int main() { int A, B, C; cin >> A >> B >> C; int X((A*B + B*C + A *C) * 2), Y(A * B * C); if(Y < X) cout << 2 << endl; else cout << 3 << endl; return 0; }