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