#include using namespace std; void fast_io() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { fast_io(); 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\n"; } else { cout << "3\n"; } }