h = input().split()
a, b, c = int(h[0]), int(h[1]), int(h[2])
dis = b ** 2 - 4 * a * c
if dis > 0 and a != 0:
    print(2)
    print(((b * (-1)) - (dis ** 0.5)) / (2 * a))
    print(((b * (-1)) + (dis ** 0.5)) / (2 * a))
elif dis == 0 and a != 0:
    print(1)
    print((b * (-1)) / (2 * a))
elif a == 0 and b == 0 and c == 0:
    print(-1)
elif (a == 0 and b == 0) or (dis < 0):
    print(0)
elif a == 0:
    print(1)
    print(c / b if a * b < 0 else (-1) * c / b)
