#include using namespace std; using ll = long long; int main() { 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 << endl; } else { cout << 3 << endl; } }