#include using namespace std; using ll = long long; using ld = long double; int main(){ int A,B,C;cin >> A >> B >> C; int X = A*B*2+A*C*2+B*C*2; int Y = A*B*C; if(X>Y)cout << 2 << endl; else cout << 3 << endl; }