#include <iostream>
using namespace std;
int main(void){
    int a, b, c;
    cin >> a >> b >> c;
    int x = (a*b + b*c + c*a) * 2;
    int y = a * b * c;
    if (x > y) {
        cout << 2 << endl;
    }
    else cout << 3 << endl;
}