import math a,b,c = map(int,input().split(" ")) left_num = int(math.pow(b,2)) right_num = int(4*a*c) a_bunbo=int(2*a) if left_num== right_num and not(a==0 and b==0) or (a==0 and c==0 and (b<0 or b>0)): print(1) if a > 0 or a < 0: print(round(-b/a_bunbo,18)) elif left_num> right_num and not(a==0 and c==0 and (b<0 or b>0)): print(2) print(round(-(b+math.sqrt(left_num- right_num))/a_bunbo,18)) print(round(-(b-math.sqrt(left_num- right_num))/a_bunbo,18)) elif (a==0 and b==0 and c ==0): print(-1) else: print(0)