#include const int INF=1<<30; int main(){ int a,b,c; std::cin >> a >> b >> c; long long surface=3*(a*b+b*c+c*a); long long volume=a*b*c; if(surface>volume)std::cout << 2 << '\n'; else std::cout << 3 << '\n'; }