#include using namespace std; using ll = long long; int main(){ ios::sync_with_stdio(false); cin.tie(0); ll a, b, c, x, y; cin >> a >> b >> c; x = (a*b + b*c + c*a) * 2; y = a*b*c; cout << (x > y ? 2 : 3) << '\n'; return 0; }