from math import *
a,b,c = [int(i) for i in input().split()]
d = b**2 - 4*a*c
if a == 0:
    if b == 0:
        if c == 0:
            print(-1)
        else:
            print(0)
    else:
        print(1)
        print("{:.8f}".format(-c/b))
else:
    if d > 0:
        print(2)
        print("{:.8f}".format((-b-sqrt(d))/(2*a)))
        print("{:.8f}".format((-b+sqrt(d))/(2*a)))
    elif d == 0:
        print(1)
        print("{:.8f}".format((-b)/(2*a)))
    else:
        print(0)
