A,B,C=map(int,input().split()) D=(B*B-4*A*C)**0.5 print(int((B+D)/(2*A))-int((B-D)/(2*A))+1)