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