#include using namespace std; int main(){ long a,b,c; cin >> a >> b >> c; if(b*b-4*a*c > 0){ cout<<2<