def main(): import sys from math import sqrt input = sys.stdin.readline a, b, c = map(int, input().split()) if a == b == c == 0: print(-1) exit() if a == b == 0: print(0) exit() if a == 0: print(0) print(-c / b) D = b**2 - 4*a*c if D < 0: print(0) elif D == 0: print(1) else: print(2) eps = 10**-11 if a < 0: a *= -1 b *= -1 c *= -1 L = -b / (2*a) ok = 10**10 ng = L - eps mid = (ok+ng) / 2 while ok - ng > eps: if a * mid**2 + b*mid+c > 0: ok = mid else: ng = mid mid = (ok+ng)/2 x_plus = ok ok = -10 ** 10 ng = L + eps mid = (ok + ng) / 2 while ng - ok > eps: if a * mid ** 2 + b * mid + c > 0: ok = mid else: ng = mid mid = (ok + ng) / 2 x_minus = ok print(x_minus) print(x_plus) if __name__ == '__main__': main()