#include using namespace std; #define rep(i, a, b) for (int i = (int)(a); (i) < (int)(b); (i)++) #define rrep(i, a, b) for (int i = (int)(b) - 1; (i) >= (int)(a); (i)--) #define all(v) v.begin(), v.end() typedef long long ll; template using V = vector; template using VV = vector>; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); constexpr char endl = '\n'; int a,b,c; int x,y; cin >> a >> b >> c; x = a*b + b*c + a*c; y = a*b*c; if (x > y) cout << 2 << endl; else cout << 3 << endl; return 0; }