#include using namespace std; using ll = long long; int main() { int a, b, c; cin >> a >> b >> c; int x=a*b*6; int y=a*b*c; if(x>y) { cout << 2 << endl; } else { cout << 3 << endl; } }