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