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