import math

a, b, c = map(int, input().split())

d = b * b - 4 * a * c

if d < 0:
    print(0)
    exit()

if a == 0 and b == 0 and c == 0:
    print(-1)
    exit()

x1 = (-b + math.sqrt(d)) / 2 * a
x2 = (-b - math.sqrt(d)) / 2 * a

print(2)
print("{0:.6f}".format(x1))
print("{0:.6f}".format(x2))
