#include using namespace std; int main() { int A, B, C; cin >> A >> B >> C; if ((A * B + B * C + C * A) * 2 > A * B * C){ cout << 2 << '\n'; } else { cout << 3 << '\n'; } }