#include<stdio.h> int main() { double x,y,z; scanf("%lf %lf %lf",&x,&y,&z); if(y*y-4*x*z>0) printf("1"); if(y*y-4*x*z==0) printf("0"); return 0; }